Changes

Ruby Object Oriented Programming

5 bytes added, 20:25, 28 November 2007
Class Inheritance
</pre>
== Ruby Class Inheritance ==
As we mentioned earlier in this chapter, Ruby support single inheritance. This means that a subclass can be created which inherits all the variables and methods of another class. The subclass is then extended to add new methods or variables not available in the superclass.