From: Yukihiro Matsumoto Date: 2006-09-21T00:04:10+09:00 Subject: Re: Bug in Hash#hash? (Ruby 1.8.4) Hi, In message "Re: Bug in Hash#hash? (Ruby 1.8.4)" on Wed, 20 Sep 2006 23:40:11 +0900, "Eyal Oren" writes: |say one = {:a=>:b} |then one.hash != one.clone.hash |is that a bug or correct? | |(using ruby 1.8.4 (2005-12-24) [i486-linux]) Currently it's an intended behavior. Hash is not designed to be hash key (two hashes are considered to be a same key if they are exactly the same object). It's not likely to change in 1.8 series. In 1.9, maybe. matz.