Class: Rubocop::Cop::NewLambdaLiteral
- Defined in:
- lib/rubocop/cop/new_lambda_literal.rb
Constant Summary collapse
- MSG =
'Use the new lambda literal syntax ->(params) {...}.'
- TARGET =
s(:send, nil, :lambda)
Instance Attribute Summary
Attributes inherited from Cop
#debug, #disabled_lines, #offences
Instance Method Summary collapse
Methods inherited from Cop
#add_offence, cop_name, #has_report?, inherited, #initialize, #inspect, #name, #on_comment
Constructor Details
This class inherits a constructor from Rubocop::Cop::Cop