Home Segments Index Top Previous Next

260: Sidetrip

When you define a new class method, you actually define an instance method for the class's metaclass. The definition given in Segment 255, for example, actually defines an instance method for the Food class's metaclass.