From: Ryan Leavengood Date: 2005-12-08T11:31:55+09:00 Subject: Re: increasing counter whithin loop? On 12/7/05, mental@rydia.net wrote: > > A lot of Ruby's clarity comes not from being able to write things > clearly in the "raw" language, but from being able to easily > customize the language for your needs. Beautifully said, and most true. I think your each_with_prev is the best way to tackle this problem in a clean Ruby-esque way. Regards, Ryan