From: Robert Klemme Date: 2004-08-06T21:51:25+09:00 Subject: Re: Sets are not extensional "Florian Gross" schrieb im Newsbeitrag news:2nh57hFqhe5U1@uni-berlin.de... > Moin! > > > The only > > conclusion so far is, that Hash#hash is Object#hash (because it's not > > overridden as you state) and thus can't take into account the contents of > > the Hash. Can you please clarify this? > > irb(main):001:0> {1 => 2}.method(:hash) > => # > > So it is indeed not overwritten. Thanks for confirming. But I was after something differnt: The statement I was referring to is > /* in hash.c the "hash" method is never overridden. So rb_obj_id() is > the "hash" method for hashes. */ I can't see the connection between hash and id - at least not in the code snippets posted. Regards robert