Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
RUBY_OS_NAMES
This is a map from Java's "friendly" OS names to those used by Ruby
|
Constructor and Description |
---|
RbConfigLibrary() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getArchitecture() |
static java.lang.String |
getOSName() |
static java.lang.String |
jrubyScript() |
static java.lang.String |
jrubyShell() |
void |
load(Ruby runtime,
boolean wrap)
Just enough configuration settings (most don't make sense in Java) to run the rubytests
unit tests.
|
static IRubyObject |
ruby(ThreadContext context,
IRubyObject recv) |
public static final java.util.Map<java.lang.String,java.lang.String> RUBY_OS_NAMES
public static java.lang.String getOSName()
public static java.lang.String getArchitecture()
public void load(Ruby runtime, boolean wrap)
bindir
, RUBY_INSTALL_NAME
and
EXEEXT
.public static java.lang.String jrubyScript()
public static java.lang.String jrubyShell()
public static IRubyObject ruby(ThreadContext context, IRubyObject recv)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.