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