From: David Vallner Date: 2007-02-19T20:47:18+09:00 Subject: Re: For loops don't count down On Mon, 19 Feb 2007 07:28:36 +0100, Michael Fellinger wrote: > what it essentially does is: > > (1..5).to_a.reverse.each do |number| > puts number > end > Syntactically, I'd prefer "for number in 5..1" to that monstrous method chain any day of the week. David Vallner