class Rubocop::Cop::Style::LineContinuation

of sense without inspection of its context.
This check has to be refined or retired, since it doesn’t make a lot
This cop checks for uses of the line continuation character.

def inspect(source_buffer, source, tokens, ast, comments)

def inspect(source_buffer, source, tokens, ast, comments)
  source.each_with_index do |line, index|
    if line =~ /.*\\\z/
      add_offence(:convention,
                  source_range(source_buffer, source[0...index],
                               line.length - 1, 1),
                  MSG)
    end
  end
end