From: Tim Bates Date: 2003-01-10T20:13:24+09:00 Subject: Re: Security problems On Fri, 10 Jan 2003 08:49 pm, ts wrote: > Can you work with singleton methods ? Something like this That's not terribly dissimilar from what I am already doing. Ideally, I want the robot programmer to be able to do something like this: class MyRobot < Robot def run # ... end end Anything less than that and it's not really demonstrating OOP. So I guess what I really want to do is give a piece of code all the restrictions of $SAFE == 4 with one exception - permission to extend one particular class. I can't see a simple way to do this, but maybe I'm missing something. Tim Bates -- tim@bates.id.au