org.jruby
Class IncludedModuleWrapper
java.lang.Object
org.jruby.RubyObject
org.jruby.RubyModule
org.jruby.RubyClass
org.jruby.IncludedModuleWrapper
- All Implemented Interfaces:
- java.lang.Cloneable, IRubyObject
- public final class IncludedModuleWrapper
- extends RubyClass
This class represents an included module.
- Author:
- jpetersen
Methods inherited from class org.jruby.RubyClass |
allocateObject, attachToObject, createClassClass, getSingletonClassClone, inherited, inheritedBy, isSingleton, marshalTo, newClass, newClass, newInstance, newSingletonClass, subclass, superclass, unmarshalFrom |
Methods inherited from class org.jruby.RubyModule |
addMethod, alias_method, aliasMethod, ancestors, append_features, attr_accessor, attr_reader, attr_writer, attr, call, call0, class_variables, clearMethodCache, clearMethodCache, const_defined, const_get, const_missing, const_set, constants, createModuleClass, define_method, defineAlias, defineClassUnder, defineConstant, defineMethod, defineModuleFunction, defineModuleUnder, defineOrGetClassUnder, definePrivateMethod, dup, executeUnder, exportMethod, extend_object, getBaseName, getClassPath, getClassVar, getConstant, getMethodBodyCached, getMethodVisibility, getName, getSuperClass, include, included_modules, includeModule, initialize, instance_method, instance_methods, isClassVarDefined, isConstantDefined, isConstantDefinedAt, isMethodBound, isMethodDefined, method_defined, module_eval, module_function, name, nesting, newMethod, newModule, newModule, newModule, op_cmp, op_eqq, op_ge, op_gt, op_le, op_lt, private_class_method, private_instance_methods, protected_instance_methods, public_class_method, rbClone, rbPrivate, rbProtected, rbPublic, remove_class_variable, remove_const, remove_method, removeCvar, removeMethod, searchMethod, setBaseName, setClassVar, setConstant, setMethodVisibility, to_s, toName, undef_method, undef, undefineMethod |
Methods inherited from class org.jruby.RubyObject |
argCount, asSymbol, callbackFactory, callInit, callMethod, callMethod, callMethod, checkSafeString, convertToString, convertToType, convertType, createObjectClass, defineSingletonMethod, display, equal, equals, eval, eval, evalUnder, extend, extendObject, freeze, frozen, getInstanceVariable, getJavaClass, getRuntime, getSingletonClass, getType, hash, hashCode, hasInstanceVariable, id, infectBy, inspect, instance_eval, instance_of, instance_variables, instanceVariableNames, isFalse, isFrozen, isKindOf, isNil, isTaint, isTrue, kind_of, makeMetaClass, method_missing, method, methods, nilObject, private_methods, protected_methods, removeInstanceVariable, respond_to, respondsTo, send, setFrozen, setInstanceVariable, setInstanceVariable, setTaint, setupClone, singleton_methods, singletonMethodsAllowed, specificEval, taint, tainted, to_a, toString, type, untaint |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IncludedModuleWrapper
public IncludedModuleWrapper(Ruby ruby,
RubyClass superClass,
RubyModule delegate)
newIncludeClass
public IncludedModuleWrapper newIncludeClass(RubyClass superClass)
- include_class_new
- Overrides:
newIncludeClass
in class RubyModule
isModule
public boolean isModule()
- Overrides:
isModule
in class RubyClass
isClass
public boolean isClass()
- Overrides:
isClass
in class RubyClass
isIncluded
public boolean isIncluded()
- Overrides:
isIncluded
in class RubyModule
testFrozen
protected void testFrozen()
- Description copied from class:
RubyModule
- rb_frozen_class_p
- Overrides:
testFrozen
in class RubyClass
getMetaClass
public RubyClass getMetaClass()
- Description copied from class:
RubyObject
- if exist return the meta-class else return the type of the object.
- Specified by:
getMetaClass
in interface IRubyObject
- Overrides:
getMetaClass
in class RubyClass
setMetaClass
public void setMetaClass(RubyClass newRubyClass)
- Specified by:
setMetaClass
in interface IRubyObject
- Overrides:
setMetaClass
in class RubyObject
getMethods
public java.util.Map getMethods()
- Overrides:
getMethods
in class RubyModule
setMethods
public void setMethods(java.util.Map newMethods)
getInstanceVariables
public java.util.Map getInstanceVariables()
- Overrides:
getInstanceVariables
in class RubyObject
setInstanceVariables
public void setInstanceVariables(java.util.Map newMethods)
- Overrides:
setInstanceVariables
in class RubyObject
getClassname
public java.lang.String getClassname()
- Overrides:
getClassname
in class RubyModule
getDelegate
public RubyModule getDelegate()
getRealClass
public RubyClass getRealClass()
- Overrides:
getRealClass
in class RubyClass
Copyright © 2002 Jan Arne Petersen. All Rights Reserved.