Package | Description |
---|---|
org.jruby | |
org.jruby.ast.executable | |
org.jruby.embed.internal | |
org.jruby.runtime.load |
Modifier and Type | Method and Description |
---|---|
Script |
Ruby.tryCompile(Node node)
Try to compile the code associated with the given Node, returning an
instance of the successfully-compiled Script or null if the script could
not be compiled.
|
Modifier and Type | Method and Description |
---|---|
void |
Ruby.loadScript(Script script) |
void |
Ruby.loadScript(Script script,
boolean wrap) |
IRubyObject |
Ruby.runScript(Script script) |
IRubyObject |
Ruby.runScript(Script script,
boolean wrap) |
IRubyObject |
Ruby.runScriptBody(Script script)
This is used for the "gets" loop, and we bypass 'load' to use an
already-prepared, already-pushed scope for the script body.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractScript |
Modifier and Type | Method and Description |
---|---|
Script |
ScriptAndCode.script() |
Constructor and Description |
---|
ScriptAndCode(byte[] bytecode,
Script script) |
Constructor and Description |
---|
EmbedEvalUnitImpl(ScriptingContainer container,
Node node,
ManyVarsDynamicScope scope,
Script script) |
Constructor and Description |
---|
LoadService.ScriptClassSearcher.ScriptClassLibrary(Script script) |
Copyright © 2001-2016 JRuby. All Rights Reserved.