From: Dick Davies Date: 2006-06-15T20:15:37+09:00 Subject: Re: Does each over an array bring a counter/index with it? On 15/06/06, Sidney Burks wrote: > Do you have to do > > 'require enumerable' > > each time you want to use it, or should it be accessible by default? No, it's a mixin (a bit like OOP inheritance in other languages). See: http://whytheluckystiff.net/ruby/pickaxe/html/tut_modules.html -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/