Package | Description |
---|---|
org.jruby.embed | |
org.jruby.embed.internal |
Modifier and Type | Method and Description |
---|---|
static PathType |
PathType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathType[] |
PathType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EmbedEvalUnit |
EmbedRubyRuntimeAdapter.parse(PathType type,
String filename,
int... lines)
Parses a script read from a specified path and return an object which can be run().
|
EmbedEvalUnit |
ScriptingContainer.parse(PathType type,
String filename,
int... lines)
Parses a script read from a specified path and return an object which can be run().
|
Object |
ScriptingContainer.runScriptlet(PathType type,
String filename)
Reads a script file from specified path and evaluates it under the current
scope (perhaps the top-level scope) and returns a result only if a script
returns a value.
|
Modifier and Type | Method and Description |
---|---|
EmbedEvalUnit |
EmbedRubyRuntimeAdapterImpl.parse(PathType type,
String filename,
int... lines) |
Copyright © 2001–2016 JRuby. All rights reserved.