Flowdock
v1_8_6_287 - Show latest stable - 1 note - Superclass: Object

A class which provides a method `each’ to be used as an Enumerable object.

Show files where this class is defined (1 file)
Register or log in to add new notes.
August 23, 2008
0 thanks

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