From: Tanaka Akira Date: 2003-02-12T11:53:25+09:00 Subject: Re: Operator reordering, good idea? (was Re: ruby-dev summary 19457-19539) In article , dblack@candle.superlink.net writes: > Well, I would have thought this: > > Exception.new("a") == "a" > > :-) But seriously... my problem with that example being "true" is > that it's only using Exception#to_s after doing a kind of > right-to-left backtracking, *after* seeing that a String object is -- > no, *was* -- needed. My instinct is to say: if you get as far as > having sent a message to an object, it's too late to reconsider what > that object is. Since Exception.new("a") == "a" never returns true, your problem is not exist. -- Tanaka Akira