module RuboCop::AST::MethodIdentifierPredicates
def nonmutating_string_method?
-
(Boolean)
- whether the method is a nonmutating String method
def nonmutating_string_method? NONMUTATING_STRING_METHODS.include?(method_name) end
(Boolean)
- whether the method is a nonmutating String method
def nonmutating_string_method? NONMUTATING_STRING_METHODS.include?(method_name) end