"Christoph Rippel" <crippel / primenet.com> writes:

> `` Generates a Fixnum hash value for this object. This function must
> have the property that a.eql?(b) implies a.hash == b.hash.... The
> hash value is used by class  Hash. ...''
> 
> I finial realized that the #hash method of the Hash class it-self 
> violates this  behavior it is simply id-based ...
> 
> h.hash == h.id # => true for any Hash object

While I agree that this may be unfortunate, in what way does having
h.hash defined as h.id violate the rules? (If our statement is wrong
I'd like to fix it).


Thanks


Dave
o