Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
inheritance « Class « Ruby
Ruby
Class
inheritance
1.
Basing one class on another is called inheritance.
2.
Extends class
3.
how inheritance works in code form
4.
Basing One Class on Another: a Demo
5.
different types of people
6.
Structuring Your Pets Logically
7.
If the class Name were in a different file, you would just require that file first
8.
Add new constructor
9.
Module and class hierarchy
10.
Subclass Array class