From: kohno kazuyuki Date: 2010-05-21T13:56:57+09:00 Subject: Re: Merging two arrays -> array of arrays I was typoing... Bey! => Bye! On Fri, May 21, 2010 at 1:53 PM, kohno kazuyuki wrote: > Hi! > > [a, b].transpose > => [[1, 4], [2, 5], [3, 6]] > > Bey! > > -- > jugyo > > > On Fri, May 21, 2010 at 1:47 PM, Allen Walker wrote: >> Example: >> >> a = [1,2,3] >> b = [4,5,6] >> >> I want to merge them so the new array is: >> >> [ [1,4], [2,5], [3,6] ] >> >> Can't figure out the best way to do this. >> >> Thanks >> -- >> Posted via http://www.ruby-forum.com/. >> >> > >