| February 2, 2004 | Intro to Ruby | Slide #20 |
| Prev | Next |
Classes are created with the Class keyword
Class names must begin with a capital letter
An instance of a class is created by the new method
The special method initialize is called by new to initialize the instance of the object.
|
| Prev | Copyright © 2004 Walter C. Mankowski | Next |