From: Martin DeMello Date: 2008-08-08T07:59:16+09:00 Subject: Re: count each loop On Thu, Aug 7, 2008 at 3:53 PM, Joel Saltzmanjoelh wrote: > I am trying to get the iteration number of a loop I am on. I tried > > objects.each do |object, i| objects.each_with_index do |o, i| martin