class RuboCop::Cop::Style::MagicCommentFormat
def leading_comment_lines
def leading_comment_lines first_non_comment_token = processed_source.tokens.find { |token| !token.comment? } if first_non_comment_token 0...first_non_comment_token.line else (0..) end end