Package | Description |
---|---|
org.jruby | |
org.jruby.embed | |
org.jruby.parser | |
org.jruby.util.cli |
Modifier and Type | Method and Description |
---|---|
CompatVersion |
RubyInstanceConfig.getCompatVersion() |
static CompatVersion |
CompatVersion.getVersionFromString(String compatString) |
static CompatVersion |
CompatVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompatVersion[] |
CompatVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
RubyInstanceConfig.setCompatVersion(CompatVersion compatVersion) |
static boolean |
CompatVersion.shouldBindMethod(CompatVersion runtimeVersion,
CompatVersion methodVersion) |
Modifier and Type | Method and Description |
---|---|
CompatVersion |
ScriptingContainer.getCompatVersion()
Returns a Ruby version currently chosen, which is one of CompatVersion.RUBY1_8,
CompatVersion.RUBY1_9, or CompatVersion.BOTH.
|
CompatVersion |
EmbedRubyInstanceConfigAdapter.getCompatVersion()
Returns a Ruby version currently chosen, which is one of CompatVersion.RUBY1_8,
CompatVersion.RUBY1_9, or CompatVersion.BOTH.
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptingContainer.setCompatVersion(CompatVersion version)
Changes a Ruby version to be evaluated into one of CompatVersion.RUBY1_8,
CompatVersion.RUBY1_9, or CompatVersion.BOTH.
|
void |
EmbedRubyInstanceConfigAdapter.setCompatVersion(CompatVersion version)
Changes a Ruby version to be evaluated into one of CompatVersion.RUBY1_8,
CompatVersion.RUBY1_9, or CompatVersion.BOTH.
|
Modifier and Type | Method and Description |
---|---|
CompatVersion |
ParserConfiguration.getVersion()
Get the compatibility version we're targeting with this parse.
|
Modifier and Type | Method and Description |
---|---|
RubyParser |
RubyParserPool.borrowParser(CompatVersion version) |
Constructor and Description |
---|
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
CompatVersion version,
boolean saveData) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
CompatVersion version) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean inlineSource,
CompatVersion version) |
Modifier and Type | Method and Description |
---|---|
static String |
OutputStrings.getVersionString(CompatVersion compatVersion) |
Copyright © 2001-2016 JRuby. All Rights Reserved.