org.jruby.embed.internal.LocalContext from
a specified scope defined by LocalContextScope. Users can configure
Ruby runtime by using methods of this interface before Ruby runtime is used.
Default scope is LocalContextScope.THREADSAFE.
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public LocalVariableBehavior | Returns: a local variable behaviorReturns a local variable behavior associated to the scope. |
| public RubyInstanceConfig | Returns: an instance of RubyInstanceConfig.Gets an instance of |
| public Ruby | |
| public BiVariableMap | |
| public boolean | Returns: true if initialized, false otherwise.Tests whether Ruby runtime has been initialized or not. |
| public void |
| getAttributeMap | back to summary |
|---|---|
| public Map Returns an attribute map of a specified scope.
| |
| getLocalVariableBehavior | back to summary |
|---|---|
| public LocalVariableBehavior getLocalVariableBehavior() Returns a local variable behavior associated to the scope.
| |
| getRubyInstanceConfig | back to summary |
|---|---|
| public RubyInstanceConfig getRubyInstanceConfig() Gets an instance of
| |
| getRuntime | back to summary |
|---|---|
| public Ruby getRuntime() Returns a Ruby runtime of a specified scope.
| |
| getVarMap | back to summary |
|---|---|
| public BiVariableMap getVarMap() Returns a
| |
| isRuntimeInitialized | back to summary |
|---|---|
| public boolean isRuntimeInitialized() Tests whether Ruby runtime has been initialized or not.
| |
| terminate | back to summary |
|---|---|
| public void terminate() Clears up a variable map. | |