From: Phrogz Date: 2007-12-19T09:10:09+09:00 Subject: Re: Hash#collate On Dec 18, 5:01 pm, Phrogz wrote: > I wanted a method like Hash#update, but that preserved the values from > both the original and argument Hash. A little searching failed to find > it. (I did find that someone somewhere wrote a Hash#collate that's in > my ri docs, but who knows where it came from. Its description appears > not to do at all what I wanted, anyhow.) > > So, I wrote my own. Comments welcome. Efficiency patches particularly > welcome. Under a different name, perhaps Trans might consider it for > inclusion in Facets. Please find properly-formatted code @ http://pastie.caboo.se/130291 Sorry for the extra noise.