module RuboCop::AST::MethodIdentifierPredicates
def bang_method?
-
(Boolean)
- whether the method is a bang method
def bang_method? method_name.to_s.end_with?('!') end
(Boolean)
- whether the method is a bang method
def bang_method? method_name.to_s.end_with?('!') end