Namespace Archetype.Class
Archetype.Class
Defined in: archetype.js.
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Archetype.Class.append_features(object, module)
|
| <static> |
Archetype.Class.call_super(superclass, self, method, args)
|
| <static> |
Archetype.Class.create(proto)
Creates an object from his prototype definition
|
| <static> |
Archetype.Class.extend(subobj)
|
| <static> |
Archetype.Class.get_method(klass, args)
|
| <static> |
Archetype.Class.kind_of(object, klass)
|
| <static> |
Archetype.Class.singleton(proto)
Creates a singleton getter (you can get the instance by using the [Name Of The Class].instance().
|
Method Detail
<static>
Archetype.Class.append_features(object, module)
- Parameters:
- object
- module
<static>
Archetype.Class.call_super(superclass, self, method, args)
- Parameters:
- superclass
- self
- method
- args
<static>
Archetype.Class.create(proto)
Creates an object from his prototype definition
- Parameters:
- {HashMap} proto
<static>
Archetype.Class.extend(subobj)
- Parameters:
- subobj
<static>
Archetype.Class.get_method(klass, args)
- Parameters:
- klass
- args
<static>
Archetype.Class.kind_of(object, klass)
- Parameters:
- object
- klass
<static>
Archetype.Class.singleton(proto)
Creates a singleton getter (you can get the instance by using the [Name Of The Class].instance().
Used like Class.create(prototype) but to ensure a singleton
- Parameters:
- {HashMap} proto