class Rubocop::Cop::NewLambdaLiteral
def inspect(file, source, tokens, sexp)
def inspect(file, source, tokens, sexp) each(:fcall, sexp) do |s| if s[1][0..1] == [:@ident, 'lambda'] add_offence(:convention, s[1][-1].lineno, ERROR_MESSAGE) end end end