From: "Shot (Piotr Szotkowski)" Date: 2007-01-31T18:37:14+09:00 Subject: Re: Sane #hash implementation? --72btQdUC6twB1rwh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Eric Hodel: > You may want to define #eql? in terms of #to_a as well... Thanks, but (considering Mauricio Fernandez=E2=80=99s fix) what would be the benefit of defining #eql? in terms of Set#sort instead of Set#=3D=3D? Te docs say on Set#=3D=3D, =E2=80=98Returns true if two sets are equal. The= equality of each couple of elements is defined according to Object#eql?.=E2=80=99 -- Shot --=20 One of the advantages of being disorderly is that one is constantly making exciting discoveries. -- A. A. Milne --72btQdUC6twB1rwh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFwGNki/mCfdEo8UoRAjBeAJ4zYnyfZcXzZFt9QWtRm8HetgPe1QCfWu8/ JNt5EMV5PyD1nDHdjCSpAqE= =VaRq -----END PGP SIGNATURE----- --72btQdUC6twB1rwh--