From: Agnot Tok Date: 2001-01-19T21:53:31+09:00 Subject: [ruby-talk:9550] Re: Strange Hash behavior On Fri, 19 Jan 2001, Yukihiro Matsumoto wrote: >Hi, > Hi, >Hash checks equality of keys by `hash' and `eql?'. >Try to define both. > Ok, thanks. But for me its a violation of "Principle of Least Surprise". Can someone give a rationale? Regards, Agnot _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.