|
delete >>-delete(methodname)------------------------------------------>< Removes the receiver class's definition for the method name [methodname] . If the receiver class defined [methodname] as unavailable with the [define] method, this definition is nullified. If the receiver class had no definition for [methodname] , no action is taken. [Notes:]
Class class - delete method
myclass=.object~subclass("Myclass") /* After creating a class */
myclass~define("TYPE",'return "my class"') /* and defining a method */
myclass~delete("TYPE") /* this deletes the method */
|