From: Ron Jeffries Date: 2002-03-14T04:23:37+09:00 Subject: Re: process two arrays pairwise? On Wed, 13 Mar 2002 16:55:45 GMT, Paul Brannan wrote: >On Thu, Mar 14, 2002 at 01:00:01AM +0900, Ron Jeffries wrote: >> Is there somewhere in Ruby a way to process the elements of two arrays >> (of equal size), pairwise? > >There are a number of options. I'll let you dig through them: > >http://www.rubycentral.com/faq/rubyfaq-5.html#ss5.5 >http://www.rubygarden.org/article.php?sid=107 >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/rubycollections/rubycollections/rbc/iterator/ >http://www.hduchene.de/ruby/index.html Hmm, well, those aren't it. Thanks! Maybe I like what I had best for now: it has the virtue of simplicity. Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com I'm giving the best advice I have. You get to decide whether it's true for you.