Enumerable?


#1

Hi,

Can anyone please point me to some docs on Enumerable. I can’t seem to
find
anything on how to use it.

Thanx


#2

Thanx Ray Youre a life saver


#3

Liquid wrote:

Can anyone please point me to some docs on Enumerable. I can’t seem to
find anything on how to use it.

Enumerable is documented in Programming Ruby Here’s a link to the
version 1 documentation for Enumerable.

http://www.ruby-doc.org/docs/ProgrammingRuby/html/ref_m_enumerable.html

Ray


#4

You can also use Ruby’s built-in documentation utility – ri – from
the command line (assuming you have Ruby installed). Like so:

ri Enumerable

…should give you a run-down of the rdoc for Enumerable. There’s
also ruby-doc.org.