Hi,
At Thu, 19 Aug 2004 00:33:55 +0900,
Nate Smith wrote in [ruby-talk:109688]:
> a.name = "Bob"
h["Bob"] = "foo"
print "Value: " + h[a].to_s + "\n"
works as you expect. Note that String#eql? checks if classes
are same, therefore this doesn't work.
h[a] = "foo"
print "Value: " + h["Bob"].to_s + "\n"
--
Nobu Nakada