Class: Module
Defined in: | src/core/module.coffee |
Direct Known Subclasses
Class Method Summary
- + (void) extends(obj) Extend the base object itself like a static method
- + (void) includes(obj) Include methods on the object prototype
- + (void) delegate(args...) Add methods on this prototype that point to another method on another object's prototype.
- + (void) aliasFunction(to, from) Create an alias for a function
- + (void) aliasProperty(to, from) Create an alias for a property
- + (void) included(func) Execute a function in the context of the object, and pass a reference to the object's prototype.
Class Method Details
+ (void) extends(obj)
Extend the base object itself like a static method
+ (void) includes(obj)
Include methods on the object prototype
+ (void) delegate(args...)
Add methods on this prototype that point to another method on another object's prototype.
+ (void) aliasFunction(to, from)
Create an alias for a function
+ (void) aliasProperty(to, from)
Create an alias for a property
+ (void) included(func)
Execute a function in the context of the object, and pass a reference to the object's prototype.