From: Greg Hauptmann Date: 2007-06-16T06:35:22+09:00 Subject: accessing the count/iteration # within an "each" ??? ------=_Part_44896_13439908.1181943322832 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Is there a way to access the count / iteration# within an "each" loop? i.e. how many times through the loop one is? testhash.each { |d| puts } Tks Greg ------=_Part_44896_13439908.1181943322832--