From: Divya Badrinath Date: 2007-07-21T05:26:17+09:00 Subject: Re: array of arrays unknown wrote: > Hi -- > > On Sat, 21 Jul 2007, Divya Badrinath wrote: > >> i have a database with some 10 records each containing 2 columns, >> sno,name,city. >> >> I want to push this into an array of arrays. >> i see that Ruy doesnt support multi-dimensional arrays. >> Any ideas of how to do it? > > Just use arrays as array elements: > > [ [1,2,3], [4,5,6], [7,8,9] ] > > for example. > > > David Thank you. I will try it. -- Posted via http://www.ruby-forum.com/.