Package org.jruby.util
Class OSEnvironment
java.lang.Object
org.jruby.util.OSEnvironment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map
<RubyString, RubyString> environmentVariableMap
(Ruby runtime) Returns the environment as a hash of Ruby strings.getEnvironmentVariableMap
(Ruby runtime) getSystemPropertiesMap
(Ruby runtime) propertiesToStringMap
(Properties properties) static Map
<RubyString, RubyString> systemPropertiesMap
(Ruby runtime) Returns java system properties as a Map<RubyString,RubyString>.
-
Constructor Details
-
OSEnvironment
public OSEnvironment()
-
-
Method Details
-
environmentVariableMap
Returns the environment as a hash of Ruby strings.- Parameters:
runtime
-
-
getEnvironmentVariableMap
-
propertiesToStringMap
-
systemPropertiesMap
Returns java system properties as a Map<RubyString,RubyString>.- Parameters:
runtime
-- Returns:
- the java system properties as a Map<RubyString,RubyString>.
-
getSystemPropertiesMap
-