From: matz@... (Yukihiro Matsumoto) Date: 2004-04-28T18:01:08+09:00 Subject: Re: Array#hash bug? In message "Re: Array#hash bug?" on 04/04/28, Mark Hubbart writes: |Anyway, I realized that the documentation for Array#hash is messed up. |It claims (or at least implies) that #eql? uses #hash to compare |values. I was assuming that a bug in #hash would make comparisons mess |up. I was wrong :) Which document did you read? ri says: call-seq: array.eql?(other) => true or false Returns true if _array_ and _other_ are the same object, or are both arrays with the same content. Array#eql? does not use Array#hash at all for comparison. Hash assumes hash values to be same when eql? is true (but not reverse). matz.