From: Brian Buckley Date: 2006-03-23T05:56:46+09:00 Subject: duplicate keys in a Hash ------=_Part_11888_938189.1143060959764 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline In the code below it appears Ruby is permitting duplicate keys. What's happening? --Brian h =3D {} h[{}] =3D "test1" #key is an empty hash h[{}] =3D "test2" #2nd key is an empty hash -- two duplicate keys? h.size # 2 {} =3D=3D {} # =3D> true empty hashes are equal ------=_Part_11888_938189.1143060959764--