From: Ashikali Ashikali Date: 2009-04-13T19:59:53+09:00 Subject: Re: single to multi dimension array conversion Ashikali Ashikali wrote: > Can any one tell me converting single to multi dimension array > conversion > > For example , > a = [ 1,2,3,4,5,6,7,8,9,10 ] > a.( 2,3 ) > > Output, > > > > here , > 2 means dimension No > 3 means elements in each dimension In above example output should be , a = [ [1,2,3],[4,5,6],[7,8,9] , [ 10 ] ] -- Posted via http://www.ruby-forum.com/.