From: "Nicolas Desprès" Date: 2006-07-12T17:49:47+09:00 Subject: Re: Weird behavior of case/when On 7/12/06, Kroeger, Simon (ext) wrote: > > case uses === which is well defined for obj === class. > What you do is checking the class of a.class which is a class itself. > > To make it short: use 'case a' instead of 'case a.class' > Thank you. I knew that case uses === but I would have never expected that it behaves this way. Regards, -- Nicolas Despr�s