class
Enumerable::Enumerator
v1_8_6_287 -
Show latest stable
- Superclass: Object
A class which provides a method `each’ to be used as an Enumerable object.
Included modules
- Enumerable
Files
- ext/enumerator/enumerator.c
1Note
Adds new methods to Object and Enumerable
For using this class you need
require 'enumerator'
Which also adds this methods to Object:
- to_enum
- enum_for
And this other methods to Enumerable:
- each_slice
- enum_slice
- each_cons
- enum_cons
- enum_with_index