org.jruby.libraries
Class RbConfigLibrary

java.lang.Object
  extended by org.jruby.libraries.RbConfigLibrary
All Implemented Interfaces:
Library

public class RbConfigLibrary
extends java.lang.Object
implements Library


Field Summary
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 Summary
RbConfigLibrary()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RUBY_OS_NAMES

public static final 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 Detail

RbConfigLibrary

public RbConfigLibrary()
Method Detail

getOSName

public static java.lang.String getOSName()

load

public void load(Ruby runtime,
                 boolean wrap)
Just enough configuration settings (most don't make sense in Java) to run the rubytests unit tests. The tests use bindir, RUBY_INSTALL_NAME and EXEEXT.

Specified by:
load in interface Library

jrubyScript

public static java.lang.String jrubyScript()

jrubyShell

public static java.lang.String jrubyShell()


Copyright © 2002-2007 JRuby Team. All Rights Reserved.