From: "Jan E." Date: 2012-06-29T00:06:49+09:00 Subject: Re: Confusion about aliasing eql? and == Jeff Storey wrote in post #1066533: > Isn't eql? used for hashing? If you want your objects to be properly > looked up in a Hash, don't you need to use eql? You *can*, if you want the keys to be compared in a certain way rather than simply by identity. But you don't have to. The standard definitions of "eql?" and "hash" should work just fine. -- Posted via http://www.ruby-forum.com/.