Daniel Berger <djberge / qwest.com> wrote: > Ok, then. What about allowing Ranges to be used with 'times'? > > (3..5).times{...} -> alias for 3.upto(5){...} > > I'm not really pushing for this - just curious what you think. > Horrible idea? There's always each - (3..5).each {|i| p i} 'times' doesn't sound like it iterates over the range. If I had to define it it'd pick a random number from the range and iterate that many times :) martin