module RuboCop::AST::MethodIdentifierPredicates
def assignment_method?
-
(Boolean)
- whether the method is an assignment
def assignment_method? !comparison_method? && method_name.to_s.end_with?('=') end
(Boolean)
- whether the method is an assignment
def assignment_method? !comparison_method? && method_name.to_s.end_with?('=') end