Hello

> By short I mean without going through iteration loop:
>
> array=3D[]
> (1..5).each do |i|
> =A0 =A0array.push i*10
> end

Would you be pleased with something like this ?

>> array =3D (1..5).collect {|i| i*10}
=3D> [10, 20, 30, 40, 50]

Cheers,

--=20
JJ Fleck
PCSI1 Lyc=E9e Kl=E9ber