From: Omran Nazir Date: 2009-11-23T08:30:52+09:00 Subject: Re: Newbie question: Enumerators --0-1824169266-1258932649=:30395 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanx for responses, you guys are champions!=0A=0A Imran Nazir =0A=0A=0AFri= end, Boho, House Owner, Citizen, Engineer=0A=0A=0A=0A=0A=0A________________= ________________=0AFrom: Omran Nazir =0ATo: ruby-t= alk ML =0ASent: Sat, 21 November, 2009 21:35:03=0A= Subject: Newbie question: Enumerators=0A=0AHi, I know this is a very newbie= question but its one concept that despite google and the O'Riley book I ca= nt get my head around.=0A=0ACan someone please give a simple explantion of = what exactly an Enumerator is, what it can act on and why you can pass 'arr= ay.to_enum' to a method that expect 'array'? What sort of objects can be de= fined as 'enumerable' and what makes them so? What is the difference betwee= n and Enumerator and an Iterator?=0A=0AThanks in advance.=0A=0AImran Nazir = =0A=0AImran's profile" border=3D"0">=0AFriend, Boho, House Owner, Citizen, = Engineer=0A=0A=0A --0-1824169266-1258932649=:30395--