class RuboCop::Cop::Layout::EmptyLineAfterMagicComment
def investigate(source)
def investigate(source) return unless source.ast && (last_magic_comment = last_magic_comment(source)) return if source[last_magic_comment.loc.line] =~ BLANK_LINE offending_range = source_range(source.buffer, last_magic_comment.loc.line + 1, 0) add_offense(offending_range, offending_range) end