On Sat, Nov 26, 2005 at 09:13:38AM +0900, Jeff Wood wrote: > I'm kind of surprised that you don't get an array of values back if you call > Range#step(x) without a block. > > That would make things much easier ... > > a.values_at( (2..6).step(2) ) > > ... at least, that is what would make sense to me ... anybody else? a = (0..20).to_a a.values_at( *(2..6).step(2) ) # => [2, 4, 6] RUBY_VERSION # => "1.9.0" -- Mauricio Fernandez