November 2001
Intermediate to advanced
218 pages
6h 22m
English
Objects are created using the
new method of each object’s class. After a
new object is created by the
new method, the object’s
initialize method is called with the arguments of
the new method passed to it. Blocks associated
with the new method are also passed directly to
initialize. For consistency, you should initialize
objects by redefining the initialize method,
rather than the new method. The visibility of
methods named initialize is automatically made
private.
Read now
Unlock full access