From: Hal Fulton Date: 2006-12-05T09:28:51+09:00 Subject: Re: help, my 'case/when' code doesn't work cremes.devlist@mac.com wrote: > > Sheesh! I *knew* it was something easy. I feel like a dope... > Don't feel like a dope. That is fairly subtle. Consider this code: x = foo y = foo case x when y puts "yes" else puts "no" end When would you ever expect this to print "no"? In most cases, it will print yes. If foo is a class, it will print no. Hal