From: "Peña, Botp" Date: 2002-12-18T19:29:08+09:00 Subject: Re: $SAFE block? Hi sir Mauricio (aka Mauricio Fern�ndez [mailto:batsman.geo@yahoo.com]): You expounded last Wednesday, December 18, 2002 6:12 PM: >.. > You can write it yourself: cool quick code -like batsman :-) I've archived this quick hack in my ruby arc.. > > batsman@tux-chan:/tmp$ cat b.rb > > module Kernel > def safe(level, &block) > thread = Thread.new { > $SAFE = 4 minor correction ^^^^^^^ $SAFE = level kind regards -botp