From: Gavin Sinclair Date: 2002-11-15T08:10:15+09:00 Subject: Re: Newbie Question. From: "Brian Candler" > > Other objects respond to 'each', including Range, which gives you something > closer to a for loop: > > (1..10).each {|i| puts i} > Or even closer to a for loop: for i in (1..10) puts i end I used to like this syntax, but prefer nowadays to use 'each'. Gavin