From: 7stud -- Date: 2007-11-02T06:41:47+09:00 Subject: Re: Newbie question 7stud -- wrote: > So, I try to do this instead: > > 10.times do |i| > ... > ... > end I should mention that this code: 10.times do |i| is not equivalent to: (1..10).each do |i| because times() starts counting at 0 and ends at 9. -- Posted via http://www.ruby-forum.com/.