| Overview | Module | Function | Class | Tea 3.2.5 Reference Documentation © 2009 PDM&FC |
method className methodName argList body
Adds a method to a previously created class.
constructor has a special meaning.
Whenever a new instance of className is created by
a call to the new function
the constructor method is automatically called. At the
time of invocation it will receive as arguments the same arguments that
were passed to the new function.
It is responsability of the constructor method to call
the constructor of the super class, if the class className
has one.
| Overview | Module | Function | Class | Tea 3.2.5 Reference Documentation © 2009 PDM&FC |