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