From: James Edward Gray II Date: 2005-03-22T11:13:49+09:00 Subject: Re: stepping through arrays simultaneously On Mar 21, 2005, at 8:04 PM, tsuraan wrote: >>> Is there a way to join the arrays into an array of n-tuples and step >>> through them one tuple at a time? >> >> Sure is. You want Array#zip(). > > I remember seeing that in pickaxe 2, but it's not in the documentation > of Array. It's in the online docs of course, but it's missing from > the book. Strange. Thanks though; I like that function. My bad. If I had listed it correctly, you would have went right to it. Array overrides it, but really the method is part of Enumerable. It's under that listing in the Pickaxe (page 459). Sorry for spreading confusion. James Edward Gray II