From: Kristof Bastiaensen Date: 2005-01-14T20:56:15+09:00 Subject: Re: request for times, step, upto... On Fri, 14 Jan 2005 16:06:19 +0900, Pe�a, Botp wrote: > > 2. my request may be handled by step. But I do not like step (me only); > maybe because the sound does not ring or maybe because I do not like the > order of params when read. > Hi, I agree that Integer#step looks a bit odd. The most natural way to do this is IMO with Range#step (added in 1.8? ): irb(main):001:0> (2..9).step(2) do |i| puts i end 2 4 6 8 KB