From: James Edward Gray II Date: 2006-10-05T01:32:13+09:00 Subject: Re: Better ruby way for caseing on class? On Oct 4, 2006, at 11:27 AM, Gavin Kistner wrote: > From: James Edward Gray II [mailto:james@grayproductions.net] >> Sure. Drop the call to to_s() and the ' .. 's around the class >> names. Case calls ===() for the condition object and Class defines >> ===() to do what you expect here. > > Er...not quite, because (in his example) he has class objects, not > instances. Egad, very good point. I apologize. James Edward Gray II