On Fri, Mar 28, 2008 at 12:21 AM, Roger Pack <rogerpack2005 / gmail.com> wrote:
> Next wish :)
>  I wish that you could make arrays more easily.  As in
>
>  a = [1,2,3]
>  a.map{|n| n,n }
>
>  and it would work :)
>

You want to create a two-dimensional array, right?
It works when you add square braces:

a = [1,2,3]
a.map{|n| [n,n] }