Package org.jruby

Class RubyGlobal

java.lang.Object
org.jruby.RubyGlobal

public class RubyGlobal extends Object
This class initializes global variables and constants.
  • Field Details

    • UNCACHED_GLOBALS

      public static final List<String> 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

      public static void initARGV(Ruby runtime)
    • createGlobals

      public static void createGlobals(Ruby runtime)
    • initSTDIO

      public static void initSTDIO(Ruby runtime, GlobalVariables globals)
    • prepareStdioChannel

      private static Channel prepareStdioChannel(Ruby runtime, STDIO stdio, Object stream)
    • unwrapDripStream

      private static int unwrapDripStream(Object stream)
    • defineGlobalEnvConstants

      private static void defineGlobalEnvConstants(Ruby runtime)