Flowdock
Ruby latest stable (v2_5_5) - 1 note - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

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

Show files where this class is defined (2 files)
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