class Rubocop::Cop::TrailingWhitespace
def inspect(file, source, tokens, sexp)
def inspect(file, source, tokens, sexp) source.each_with_index do |line, index| if line =~ /.*[ \t]+$/ add_offence(:convention, index + 1, ERROR_MESSAGE) end end end
def inspect(file, source, tokens, sexp) source.each_with_index do |line, index| if line =~ /.*[ \t]+$/ add_offence(:convention, index + 1, ERROR_MESSAGE) end end end