Method: RuboCop::Cop::Lint::NumericOperationWithConstantResult#abbreviated_assignment_with_constant_result?
- Defined in:
- lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb
permalink #abbreviated_assignment_with_constant_result?(node) ⇒ Object
[View source]
56 57 |
# File 'lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb', line 56 def_node_matcher :abbreviated_assignment_with_constant_result?, '(op-asgn (lvasgn $_lhs) $_operation ({int lvar} $_rhs))' |