From: ts <decoux / moulon.inra.fr>
Subject: Re: $SAFE = 3.5?
Date: Thu, 6 May 2004 23:23:18 +0900
Message-ID: <200405061423.i46ENB000686 / moulon.inra.fr>
>  No need for this, you just need to use a method that you can trust like
>  String::new 
>    proc{|s| $SAFE=4; wp.call(String.new(s.to_s))}

How foolish I am! 
I was mistaken it is a problem that String.new(obj) calls obj.to_str 
if obj is not a String. 
It is NOT a problem because obj.to_str is called under $SAFE==4.
I need more practice for Ruby programing. :-<
Thank you.
-- 
                                  Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)