User Tools

Site Tools


at:tutorial:objects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
at:tutorial:objects [2008/08/01 14:27] – * tvcutsemat: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 do: { |i|+    1.to: elements.length do: { |i|
       clo(elements[i]);       clo(elements[i]);
     };     };
Line 229: Line 229:
 > makeBankAccount(100).balance; > makeBankAccount(100).balance;
 >>Lookup failure : selector balance could not be found in  >>Lookup failure : selector balance could not be found in 
-  <object:5068254>+  <obj:{super,super:=,deposit}>
 </code> </code>
  
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem