Index: doc/tutorial.html =================================================================== diff -u -r2111020b49da8ce57758e51accf0b6073037f0d2 -rdc0040a6ddddf73e61c2a7d733ad7e15127e6bc1 --- doc/tutorial.html (.../tutorial.html) (revision 2111020b49da8ce57758e51accf0b6073037f0d2) +++ doc/tutorial.html (.../tutorial.html) (revision dc0040a6ddddf73e61c2a7d733ad7e15127e6bc1) @@ -1689,7 +1689,7 @@ my incr counter next } - CountedClass instproc instdestroy args { + CountedClass instproc dealloc args { my incr counter -1 next } @@ -1749,14 +1749,14 @@ className create [self]

-are used for creating an instance. A similar method instdestroy +are used for creating an instance. A similar method dealloc exists on Class that handles physical destruction of an object. The method destroy on Object which lets an object destroy itself in fact has the following behavior:

   Object instproc destroy args {
-   [my info class] instdestroy [self]
+   [my info class] dealloc [self]
   }
 

@@ -1799,7 +1799,7 @@

Each step has a method call that can be changed, intercepted, etc. Of -course, cleanup, recreate, instdestroy, +course, cleanup, recreate, dealloc, etc. can also be overloaded or intercepted.