methods >>-methods-+----------------+---------------------------------->< +-(class_object)-+ Returns a Supplier object () for all the instance methods of the receiver class and its superclasses, if you specify no argument. If [class_object] is the Nil object, [methods] returns a supplier object for only the instance methods of the receiver class. If you specify a [class_object] , this method returns a supplier object containing only the instance methods that [class_object] defines. The supplier enumerates all the names and methods existing at the time of the supplier's creation. Note Methods that have been hidden with a [setMethod] or [define] method are included with the other methods that [methods] returns. The hidden methods have the Nil object for the associated method. Class class - methods method objsupp=.object~methods do while objsupp~available say objsupp~index -- displays all instance method objsupp~next -- names of the Object class end |