From: ts Date: 2003-01-10T20:49:25+09:00 Subject: Re: Security problems >>>>> "T" == Tim Bates writes: T> That's not terribly dissimilar from what I am already doing. Ideally, I want T> the robot programmer to be able to do something like this: Well, no good idea (eow? == true) T> class MyRobot < Robot T> def run T> # ... T> end T> end Warning 1.8.0 pigeon% cat b.rb #!./ruby Tmp = module R class << self class Robot end self end end R.taint $SAFE = 4 class << R class MyRobot < Robot def run # ... end end end a = Tmp::MyRobot.new a.run pigeon% pigeon% b.rb pigeon% Guy Decoux