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 class
static class
Obligate string-keyed and string-valued hash, used for ENV.static class
static class
static class
static class
static class
static class
static class
A 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 void
createGlobals
(Ruby runtime) Deprecated.static RubyHash
createGlobalsAndENV
(ThreadContext context, GlobalVariables globals, RubyInstanceConfig instanceConfig) static void
static void
initSTDIO
(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
-