A key to get/set local variable behavior. The key is equivalent to a
System property, org.jruby.embed.localvariable.behavior. The assigned value
must be one of transient, persistent, or global for Embed Core and JSR223.
BSF can choose bsf only.
A key to get/set variables/constants retrieval policy. The key is equivalent to a
System property, org.jruby.embed.laziness. The assigned value
must be true or false. When true is given, ScriptingContainer retrieve
variables/constants from Ruby runtime lazily. When a variable or constant is
requested from user program, ScriptingContainer actually attemps to get it.
However, on JSR223, retrieval is done at the end of evaluation based on
keys listed in Bindings.
A key to get/set the value for classloader policy. The key is equivalent to a
System property, org.jruby.embed.classloader. The assigned value must
be "current" or "none." When current is set, JSR223 engine sets a current
classloader (the one used to initialize ScriptingContainer) to Ruby runtime.
When none is set, no classloader is set to Ruby runtime.
Default value is "none" for version 1.5.x, and "current" for 1.6.0 and later.
This property is used only for JSR223 since ScriptingContainer users can
set any classloader explicitely.
A key to get/set compatible version to Ruby. The key is equivalent to a
System property, org.jruby.embed.compat.version. If the assigned value matches
j?ruby1[\\._]?9, then Ruby 1.9 mode will be used to evaluate a given code.
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
name - the name of the enum constant to be returned.