at:tutorial:objects
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
at:tutorial:objects [2008/08/01 14:27] – * tvcutsem | at:tutorial:objects [2013/05/17 20:23] (current) – updated tvcutsem | ||
---|---|---|---|
Line 174: | Line 174: | ||
}; | }; | ||
def each: clo { | def each: clo { | ||
- | 1.to: elements.length | + | 1.to: elements.length do: { |i| |
clo(elements[i]); | clo(elements[i]); | ||
}; | }; | ||
Line 229: | Line 229: | ||
> makeBankAccount(100).balance; | > makeBankAccount(100).balance; | ||
>> | >> | ||
- | <object:5068254> | + | <obj:{super, |
</ | </ | ||
at/tutorial/objects.1217593673.txt.gz · Last modified: 2008/08/01 14:29 (external edit)