From: Shaz Date: 2010-04-11T09:40:16+09:00 Subject: Re: Hash name increment on iteration? On 8 Apr, 08:44, Brian Candler wrote: > Is this what you want? > > SomeArray.each_with_index do |(name,content),i| >   ... > end > > -- > Posted viahttp://www.ruby-forum.com/. Each with index worked for me - didn't realize each variable in the array has an index that can be called. Thanks!