Hi -- On Sat, 9 Nov 2002, Eric Armstrong wrote: > 3) 3.times. > How many times does this execute, really? 3: $ ruby -e '3.times {|x| p x}' 0 1 2 > I saw one page that said it cycled through > indices 0,1,2,3. Hopefully, that was an error! Can you find that page? I wonder if there was confusion because in irb you see a '3' at the end of the list (which is actually the return value of the call to #times). David -- David Alan Black home: dblack / candle.superlink.net work: blackdav / shu.edu Web: http://pirate.shu.edu/~blackdav