Package org.jruby
Class RubyGlobal
java.lang.Object
org.jruby.RubyGlobal
This class initializes global variables and constants.
- Author:
- jpetersen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classObligate string-keyed and string-valued hash, used for ENV.static classstatic classstatic classstatic classstatic classstatic classstatic classA Pseudo-hash whose keys and values are required to be Strings.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionGlobals that generally should not be cached, because they are expected to change frequently if used. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateGlobals(Ruby runtime) Deprecated.static RubyHashcreateGlobalsAndENV(ThreadContext context, GlobalVariables globals, RubyInstanceConfig instanceConfig) static voidstatic voidinitSTDIO(Ruby runtime, GlobalVariables globals)
-
Field Details
-
UNCACHED_GLOBALS
Globals that generally should not be cached, because they are expected to change frequently if used. See jruby/jruby#4508.
-
-
Constructor Details
-
RubyGlobal
public RubyGlobal()
-
-
Method Details
-
initARGV
-
createGlobals
Deprecated. -
createGlobalsAndENV
public static RubyHash createGlobalsAndENV(ThreadContext context, GlobalVariables globals, RubyInstanceConfig instanceConfig) -
initSTDIO
-