Sandbox's Init and Import #
mfp: This makes me think that the point of sandbox is not as much allowing access to stuff you cannot use with higher $SAFE levels as offering a clean environment. Am I right? In both cases, being able to specify which stuff is to be imported could be useful.
Starting with an example:
box = Sandbox.new(:init => [:load], :import => [:YAML, :File])
box.eval("require 'rubygems'")
Continue to full post. (276 words)


