From: Trans Date: 2006-08-16T00:45:09+09:00 Subject: Re: Hash#each ara.t.howard@noaa.gov wrote: > both will cause all sorts of issues. this fails: I'm not following how it fails? I may be missing something but it seems to do what I'd expect: irb(main):002:0> h.each { |*v| p v } [[:b, 2]] [[:a, 1]] => {:b=>2, :a=>1} irb(main):003:0> require 'facet/hash/each' => true irb(main):004:0> h.each { |*v| p v } [:b, 2] [:a, 1] => {:b=>2, :a=>1} It's not that is that it's doing something differnet than Ruby normally does --that's the whole idea. This is an alternate definition to Hash#each. (See my next post for the why of it all). T.