From: "Mark J. Reed" Date: 2003-12-05T23:22:05+09:00 Subject: Re: Dumb question to which I ought to know the answer by now On Fri, Dec 05, 2003 at 11:03:07PM +0900, Austin Ziegler wrote: > What you can do is: > > hash = nil; keys.zip(value) { |k, v| (hash ||= {})[k] = v } Now that is handy. I assume there's a historical reason for the name 'zip'? Because I would never have thought it meant "iterate in parallel with". :) -Mark