public class OSEnvironment extends Object
| Constructor and Description |
|---|
OSEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
Map<RubyString,RubyString> |
getEnvironmentVariableMap(Ruby runtime)
Returns the environment as a hash of Ruby strings.
|
Map<RubyString,RubyString> |
getSystemPropertiesMap(Ruby runtime)
Returns java system properties as a Map
|
static Map<String,String> |
propertiesToStringMap(Properties properties) |
public Map<RubyString,RubyString> getEnvironmentVariableMap(Ruby runtime)
runtime - public Map<RubyString,RubyString> getSystemPropertiesMap(Ruby runtime)
runtime - public static Map<String,String> propertiesToStringMap(Properties properties)
Copyright © 2001-2015 JRuby. All Rights Reserved.