class RuboCop::Cop::Style::MagicCommentFormat
def magic_comments
def magic_comments processed_source.each_comment_in_lines(leading_comment_lines) .select { |comment| MagicComment.parse(comment.text).valid? } .map { |comment| CommentRange.new(comment) } end