------ art_131440_29734245.1161076983310 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/17/06, Peter Szinek <peter / rubyrailways.com> wrote: > > Hello, > > 1) > I would like to create an array of n empty arrays, i.e. > > [ [], [], ... n-3 []'s, [] ] Nicely answered > > 2) Is there an idiomatic way to do this (in a generic way, of course): > > some_func( > [1,2,3] > [4,5,6] > [7,8,9] ) > >