First page Back Continue Last page Overview Graphics


Notes:

The situation for the class Class and its ancestors is interesting by itself, as they are the only ruby classes and modules where calling super in a class method can end up calling the instance method of the same name.

This is because the singleton class of Class's superclass is the singleton class of Module, and the superclass of the singleton class of all of Class's ancestors is the class Class itself.

Any questions about this?