From: "F. Senault" Date: 2007-07-24T19:04:59+09:00 Subject: Re: case equality question Le 24 juillet 2007 � 11:55, Phil Meier a �crit : > Why does Ruby goes to the when String case even if (param_value === > String) is false? I've been very suprised with this recently, but... >> 'a' === String => false >> 1 === String => false >> String === 'a' => true >> String === 1 => false Fred -- It's a hard work, being a network pusher. Your customers beep you in the middle of the night, hungry for another fix. But, what can you do ? Customer satisfaction and all that crap... Pays good, though. (Ingvar the Grey in the SDM)