Programming Ruby states that at $SAFE>=4, "Can load only wrapped
files, and can't include modules in nontainted classes and modules"
(page 261)

But, I can't seem to do a wrapped load at $SAFE=4:


colin@ska$ touch foo; ruby -e '$SAFE=4; load("foo", true)'
-e:1:in `load': Insecure operation `load' at level 4 (SecurityError)
        from -e:1


What am I missing?

-- 
Colin Steele                                                        CEO, WebG2
colin / webg2.com                                                  www.webg2.com
Main: 804-971-4777                                           Fax: 804-220-4652