From: "T. Onoma" Date: 2003-12-03T23:53:20+09:00 Subject: Re: each_with_what_index? On Wednesday 03 December 2003 03:21 pm, David A. Black wrote: > It's doing exactly what you ask: you've send the message > "each_with_index" to an array (namely, a[1..-1]) and Ruby is acting > accordingly. :-) David you crack me up! Of course. It always does Exactly what I've I Asked. Unfortunately it rarely Does what I Mean! ;-) > Did you want to do something more like: > > (1...a.size).each {|i| puts "#{a[i]}" } > Something like that would work too. In fact that's probably a better, and certainly a more traditional way to do it. Thanks! T.