Product Site

5.1.1.25. superClass

Returns the immediate superclass of the receiver class. The immediate superclass is the original class used on a subclass or a mixinClass method. For the Object Class, superClass returns .nil.
Example 5.17. Class class — superClass method
say .object~superclass    -- displays "The NIL object"
say .class~superclass     -- displays "The Object class"
say .set~superclass       -- displays "The Table class"