From: Kirk Haines Date: 2005-10-09T01:11:37+09:00 Subject: Re: Save the world from evil code crusade On Saturday 08 October 2005 10:01 am, aurelianito wrote: > I want to say things like evil.rb code can write to "evil.log" but to > nothing else. > How can use threads to say this kind of things with threads? Since you don't want to use $SAFE, the answer really is: There is no pretty prepackaged way to do what you want to do. You can certainly try writing it yourself, and good luck with that if you do, but a solution using $SAFE is the only thing that will get you close to what you want in the short term. Kirk Haines