org.jruby.RubyModule
| Access | Constructor and Description |
|---|---|
| public | IncludedModuleWrapper(Ruby
the runtime runtime, RubyClass the superclass superClass, RubyModule the actual module not a wrapper from a prepend or include. origin)
|
| public | IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin, RubyModule methodsHolder)
|
| Modifier and Type | Method and Description |
|---|---|
| protected RubyModule. | |
| protected IRubyObject | |
| protected IRubyObject | constantTableStore(String name, IRubyObject value)
Overrides org.
|
| protected IRubyObject | constantTableStore(String name, IRubyObject value, boolean hidden)
Overrides org.
|
| protected IRubyObject | getAutoloadConstant(ThreadContext context, String name, boolean forceLoad)
Overrides org.
|
| protected Map | getAutoloadMap()
Overrides org. AutoloadMap must be accessed after checking ConstantMap. |
| protected Map | |
| public RubyModule | getDelegate()
Overrides org. Implements org.
|
| public boolean | isIncluded()
Overrides org. Is this module one that in an included one (e.g. an |
| public boolean | |
| protected boolean | |
| public IncludedModuleWrapper | newIncludeClass(RubyClass superClass)
Overrides org.
Deprecated
Overridden newIncludeClass implementation to allow attaching future includes to the correct module (i.e. the one to which this is attached) |
| protected boolean | variableTableContains(String
to lookup name)Overrides org. Checks if the variable table contains a variable of the specified name. |
| protected Object | variableTableFetch(String
to lookup name)Overrides org. Fetch an object from the variable table based on the name. |
| protected Object | variableTableRemove(String
to remove name)Overrides org. Removes the entry with the specified name from the variable table, and returning the removed value. |
| protected Object | variableTableStore(String
to store in name, Object to store value)Overrides org. Store a value in the variable store under the specific name. |
| protected void | variableTableSync(List<Variable<Object>>
to to sync with vars)Overrides org. Synchronize the variable table with the argument. |
| IncludedModuleWrapper | back to summary |
|---|---|
public IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin)
| |
| IncludedModuleWrapper | back to summary |
|---|---|
| public IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin, RubyModule methodsHolder) | |
| constantEntryFetch | back to summary |
|---|---|
| protected RubyModule. Overrides org.
| |
| constantTableRemove | back to summary |
|---|---|
| protected IRubyObject constantTableRemove(String name) Overrides org.
| |
| constantTableStore | back to summary |
|---|---|
| protected IRubyObject constantTableStore(String name, IRubyObject value) Overrides org.
| |
| constantTableStore | back to summary |
|---|---|
| protected IRubyObject constantTableStore(String name, IRubyObject value, boolean hidden) Overrides org. | |
| getAutoloadConstant | back to summary |
|---|---|
| protected IRubyObject getAutoloadConstant(ThreadContext context, String name, boolean forceLoad) Overrides org.
| |
| getAutoloadMap | back to summary |
|---|---|
| protected Map Overrides org. Doc from org. AutoloadMap must be accessed after checking ConstantMap. Checking UNDEF value in constantMap works as a guard. For looking up constant, check constantMap first then try to get an Autoload object from autoloadMap. For setting constant, update constantMap first and remove an Autoload object from autoloadMap.
| |
| getAutoloadMapForWrite | back to summary |
|---|---|
| protected Map Overrides org.
| |
| getDelegate | back to summary |
|---|---|
| public RubyModule getDelegate() Overrides org. Implements org. | |
| isIncluded | back to summary |
|---|---|
| public boolean isIncluded() Overrides org. Doc from org. Is this module one that in an included one (e.g. an
| |
| isPrepended | back to summary |
|---|---|
| public boolean isPrepended() Overrides org.
| |
| isSame | back to summary |
|---|---|
| protected boolean isSame(RubyModule module) Overrides org.
| |
| newIncludeClass | back to summary |
|---|---|
| public IncludedModuleWrapper newIncludeClass(RubyClass superClass) Overrides org. Deprecated
Overridden newIncludeClass implementation to allow attaching future includes to the correct module (i.e. the one to which this is attached)
| |
| variableTableContains | back to summary |
|---|---|
| protected boolean variableTableContains(String name) Overrides org. Doc from org. Checks if the variable table contains a variable of the specified name. | |
| variableTableFetch | back to summary |
|---|---|
| protected Object variableTableFetch(String name) Overrides org. Doc from org. Fetch an object from the variable table based on the name. | |
| variableTableRemove | back to summary |
|---|---|
| protected Object variableTableRemove(String name) Overrides org. Doc from org. Removes the entry with the specified name from the variable table, and returning the removed value. | |
| variableTableStore | back to summary |
|---|---|
| protected Object variableTableStore(String name, Object value) Overrides org. Doc from org. Store a value in the variable store under the specific name. | |
| variableTableSync | back to summary |
|---|---|
| protected void variableTableSync(List<Variable<Object>> vars) Overrides org. Doc from org. Synchronize the variable table with the argument. In real terms this means copy all entries into a newly allocated table. | |