On 2/1/06, Phil Duby <newshoundat / atphriendly.atnet> wrote:
> I was looking for a clean (Ruby) way of creating an array of ascending> integer values, with the final value zero.  IE [ 1, 2, 3, 4, 0 ]> i = 0; a = Array.new( 4 ) { i += 1 }.push 0
a = (1..4).to_a << 0
-Levin