module RuboCop::AST::MethodIdentifierPredicates

def enumerable_method?

Returns:
  • (Boolean) - whether the method is an Enumerable method
def enumerable_method?
  ENUMERABLE_METHODS.include?(method_name)
end