First page Back Continue Last page Overview Text

Notes:


In ruby, when subclasses are created, the superclass's inherited method is called with the subclass as the argument.

So you can override the inherited method in your class, call super, and then set values in the subclass.