Content deleted Content added
Zhihua.lai (talk | contribs) No edit summary |
m Standardize spelling of Initialise/Initialize |
||
Line 68:
}, {:parent_object_a, :parent_object_b})
</pre>
This code fragment will define a new exemplar called <code>my_object</code> that has two slots (or fields) called <code>slot_a</code> (pre-initialized to 34) and <code>slot_b</code> (pre-
===Comparison===
Line 105:
# Call the parent implementation.
_super.init(name, age)
#
.name << name
.age << age
|