Sha256: 1a2158b87f4f40ff04a6c99f579e2abbc5b15a900cdaf13165c95fc2a377cc5c
Contents?: true
Size: 609 Bytes
Versions: 16
Compression:
Stored size: 609 Bytes
Contents
package sandbox; import org.jruby.Profile; import org.jruby.runtime.builtin.IRubyObject; public class SandboxProfile implements Profile { private IRubyObject sandbox; public SandboxProfile(IRubyObject sandbox) { this.sandbox = sandbox; } public IRubyObject getSandbox() { return sandbox; } public boolean allowBuiltin(String name) { return true; } public boolean allowClass(String name) { return true; } public boolean allowModule(String name) { return true; } public boolean allowLoad(String name) { return true; } public boolean allowRequire(String name) { return true; } }
Version data entries
16 entries across 16 versions & 3 rubygems