From: Jian Lin Date: 2009-10-21T05:50:39+09:00 Subject: Re: can 35.times do |i| be decrement of "i" ? Thairuby TH wrote: > irb(main):003:0> 35.times.reverse_each {|i| print i, " "} > 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 > 10 9 8 7 > 6 5 4 3 2 1 0 => # > > #Note that it counts 34 down to 0 (not 35 down to 1). counting from 34 to 0 is better since it is good for rocket take off =) -- Posted via http://www.ruby-forum.com/.