Package org.jruby
Class RubyModule.Autoload
java.lang.Object
org.jruby.RubyModule.Autoload
- Enclosing class:
- RubyModule
Objects for holding autoload state for the defined constant.
'Module#autoload' creates this object and stores it in autoloadMap.
This object can be shared with multiple threads so take care to change volatile and synchronized definitions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ThreadContextprivate final RubyStringprivate final Stringprivate IRubyObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) RubyStringgetFile()(package private) IRubyObjectgetValue()private booleanisSelf(ThreadContext rhs) private void(package private) IRubyObjectload(ThreadContext ctx) (package private) booleansetConstant(ThreadContext ctx, IRubyObject newValue)
-
Field Details
-
ctx
-
value
-
symbol
-
path
-
-
Constructor Details
-
Autoload
Autoload(String symbol, RubyString path)
-
-
Method Details
-
load
-
setConstant
-
getValue
IRubyObject getValue() -
load
-
getFile
RubyString getFile() -
isSelf
-