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].strip.empty? offending_range = source_range(source.buffer, last_magic_comment.loc.line + 1, 0) add_offense(offending_range, location: offending_range) end