Ruby Enumerable::Enumerator Functions

EditRocket provides the following information on Enumerable::Enumerator functions in the Ruby source code builder.

each - Iterates the given block using the object and the method specified in the first place.

new(obj, method = :each, *args) - Creates a new Enumerable::Enumerator object, which is to be used as an Enumerable object using the given object's given method with the given arguments.