|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jruby.RubyObject
org.jruby.RubyModule
org.jruby.RubyClass
| Field Summary |
| Fields inherited from class org.jruby.RubyModule |
parentModule |
| Fields inherited from class org.jruby.RubyObject |
runtime |
| Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
NULL_ARRAY |
| Constructor Summary | |
protected |
RubyClass(RubyClass superClass)
|
protected |
RubyClass(Ruby ruby,
RubyClass superClass)
|
protected |
RubyClass(Ruby ruby,
RubyClass rubyClass,
RubyClass superClass)
|
protected |
RubyClass(Ruby ruby,
RubyClass rubyClass,
RubyClass superClass,
RubyModule parentClass,
java.lang.String name)
|
| Method Summary | |
IRubyObject |
allocateObject()
Creates a new object of this class by calling the 'allocate' method. |
void |
attachToObject(IRubyObject object)
|
static void |
createClassClass(RubyClass classClass)
|
RubyClass |
getMetaClass()
if exist return the meta-class else return the type of the object. |
RubyClass |
getRealClass()
|
RubyClass |
getSingletonClassClone()
rb_singleton_class_clone |
static IRubyObject |
inherited(RubyClass recv)
rb_class_s_inherited |
void |
inheritedBy(RubyClass superType)
Invokes if a class is inherited from an other class. |
boolean |
isClass()
|
boolean |
isModule()
|
boolean |
isSingleton()
|
void |
marshalTo(MarshalStream output)
Method marshalTo. |
static RubyClass |
newClass(IRubyObject recv,
IRubyObject[] args)
rb_class_s_new |
static RubyClass |
newClass(Ruby ruby,
RubyClass superClass,
RubyModule parentClass,
java.lang.String name)
|
IRubyObject |
newInstance(IRubyObject[] args)
rb_class_new_instance |
MetaClass |
newSingletonClass()
|
protected RubyClass |
subclass()
Create a new subclass of this class. |
IRubyObject |
superclass()
Return the real super class of this class. |
protected void |
testFrozen()
rb_frozen_class_p |
static RubyModule |
unmarshalFrom(UnmarshalStream output)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected RubyClass(RubyClass superClass)
protected RubyClass(Ruby ruby,
RubyClass superClass)
protected RubyClass(Ruby ruby,
RubyClass rubyClass,
RubyClass superClass)
protected RubyClass(Ruby ruby,
RubyClass rubyClass,
RubyClass superClass,
RubyModule parentClass,
java.lang.String name)
| Method Detail |
protected void testFrozen()
RubyModule
testFrozen in class RubyModulepublic boolean isModule()
isModule in class RubyModulepublic boolean isClass()
isClass in class RubyModulepublic static void createClassClass(RubyClass classClass)
public void inheritedBy(RubyClass superType)
public RubyClass getSingletonClassClone()
public boolean isSingleton()
isSingleton in class RubyModulepublic RubyClass getMetaClass()
RubyObject
getMetaClass in interface IRubyObjectgetMetaClass in class RubyObjectpublic RubyClass getRealClass()
public void attachToObject(IRubyObject object)
public MetaClass newSingletonClass()
public static RubyClass newClass(Ruby ruby,
RubyClass superClass,
RubyModule parentClass,
java.lang.String name)
protected RubyClass subclass()
public IRubyObject newInstance(IRubyObject[] args)
public static RubyClass newClass(IRubyObject recv,
IRubyObject[] args)
public IRubyObject superclass()
public static IRubyObject inherited(RubyClass recv)
public void marshalTo(MarshalStream output)
throws java.io.IOException
IRubyObject
marshalTo in interface IRubyObjectmarshalTo in class RubyModulejava.io.IOException
public static RubyModule unmarshalFrom(UnmarshalStream output)
throws java.io.IOException
java.io.IOExceptionpublic IRubyObject allocateObject()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||