From: Samuel Tesla Date: 2003-12-05T12:27:15+09:00 Subject: WeakRef and Object#hash I'm trying to implement a weak key hash to use for generic objects. I'm more than happy to use Object#hash and Object#eql? as they come with the distribution, but when I make the WeakRef, the hash values don't come out the same way: irb(main):002:0> a = Object.new => # irb(main):003:0> a.hash => 538332578 irb(main):004:0> a = WeakRef.new(a) => # irb(main):005:0> a.hash => 538323898 Is this by design, or is this a bug somewhere? -- Samuel