class RuboCop::Cop::Style::MagicCommentFormat::CommentRange
def values
A magic comment can contain one value (normal style) or
def values @values ||= begin matches = [] text.scan(VALUE_REGEXP) do offset = Regexp.last_match.offset(1) matches << loc.expression.adjust(begin_pos: offset.first) .with(end_pos: loc.expression.begin_pos + offset.last) end matches end end