From: Aredridel Date: 2004-09-03T05:42:16+09:00 Subject: Re: Not just $SAFE, but damn $SAFE > Sincerely I don't understand (I know, I'm stupid) but why don't you define > classes that you want to trust and give a result only when an object > belong to theses classes ? The problem is in finding out what class something is. obj.class # Bad -- class can be overridden to be evil obj.instance_of? # Bad -- same as #class Class === obj # Bad, because you can define an evil subclass.