Chris <nemo / hellotree.com> wrote:
> Yeah.  I always wished there was a nice way to do that, like with blocks.
> For example:

>>>> a=Array.new(2) { [] }
> [[], []]
>>>> a[0].push(1)
> [1]
>>>> a
> [[1], []]
>>>>

Hi,

I think in 1.7.2 and later you can do just exactly like that.  A wish come
true? :)

Regards,

Bill