Hello --

On Thu, 11 Jul 2002, Tom Sawyer wrote:

> 5. an automatic index counter - i'm doing an arr.each but i also need a
> count too.

Array#each_with_index will do the trick.


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav