From: Sebastian Hungerecker Date: 2008-05-24T20:29:05+09:00 Subject: Re: Module.===(X,X) is false calfeld@mac.com wrote: > What I propose/question is extending the definition to include the > case that Foo == Foo.  Is there a good reason not to include this case > as true? x = String case x when String puts "x is the string #{x}" when Class puts "x is the class #{x}" end This prints "x is the class String". With your change it would print "x is the string String". HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826