[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01911] Re: [ruby-1.5.3] require / SAFE

From: matz@... (Yukihiro Matsumoto)
Date: 2000-03-16 17:11:45 UTC
List: ruby-talk #1911
Hi,

In message "[ruby-talk:01901] Re: [ruby-1.5.3] require / SAFE"
    on 00/03/16, ts <decoux@moulon.inra.fr> writes:

|Y> It used to raise SecurityError in $SAFE >= 4, but changed not to raise
|Y> exception then.
|
| OK, I've seen the disparition of rb_secure(4) in rb_f_require,  but my
|question is : do it exist a possibility to make a require with $SAFE >= 4 ?

Under the following condition, I think.

 a) autoloading class is defined
 b) the defined class is accessed for the first time in the `$SAFE >= 4'
    thread.

							matz.

In This Thread