org.jruby.environment
Class OSEnvironment

java.lang.Object
  extended by org.jruby.environment.OSEnvironment

public class OSEnvironment
extends java.lang.Object


Constructor Summary
OSEnvironment()
           
 
Method Summary
 java.util.Map getEnvironmentVariableMap(Ruby runtime)
          Returns the environment as a hash of Ruby strings.
 java.util.Map getSystemPropertiesMap(Ruby runtime)
          Returns java system properties as a Map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSEnvironment

public OSEnvironment()
Method Detail

getEnvironmentVariableMap

public java.util.Map getEnvironmentVariableMap(Ruby runtime)
Returns the environment as a hash of Ruby strings.

Parameters:
runtime -

getSystemPropertiesMap

public java.util.Map getSystemPropertiesMap(Ruby runtime)
Returns java system properties as a Map.

Parameters:
runtime -
Returns:
the java system properties as a Map.


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