From: Robert Klemme Date: 2010-07-07T02:09:18+09:00 Subject: Re: WTF? Case statement disfunctional? 2010/7/6 Caleb Clausen : > On 7/6/10, Pieter Hugo wrote: >> Thanks for the prompt and helpful responses. Your proposals work, but I >> am still unhappy about spending an hour tracking this bug. >> >> So CASE uses '===' and not '==', am I correct? So why does >> >> a = 1 >> a === Fixnum >> >> ==> false > > but, >  Fixnum===a      #=>true > > === is not symmetric with respect to its arguments. I forget what the > right word for that is. Maybe you meant "noncommutative". http://en.wikipedia.org/wiki/Noncommutative Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/