public class EmbedEvalUnitImpl extends java.lang.Object implements EmbedEvalUnit
Users do not instantiate explicitly. Instead, they can get the instance by parsing
Ruby script by parse method of ScriptingContainer.
| Modifier and Type | Method and Description |
|---|---|
DynamicScope |
getLocalVarScope()
Returns a ManyVarsDynamicScope used to parse a script.
|
Node |
getNode()
Returns a root node of parsed Ruby script.
|
IRubyObject |
run()
Evaluates a Ruby script, which has been parsed before.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetScopepublic Node getNode()
getNode in interface EmbedEvalUnitpublic DynamicScope getLocalVarScope()
getLocalVarScope in interface EmbedEvalUnitpublic IRubyObject run()
run in interface JavaEmbedUtils.EvalUnitCopyright © 2001-2022 JRuby. All Rights Reserved.