----- Original Message ----- From: "Lyle Johnson" <lyle / users.sourceforge.net> Newsgroups: comp.lang.ruby To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Wednesday, November 27, 2002 9:32 AM Subject: Re: explicit destroy [snip] > And so a short example of its use would go like this: > > # Create some agents > bond = Agent.new > jinx = Agent.new > > # Jinx wants to know when Bond dies > bond.befriend(jinx) > > # Kill Bond; this should trigger a call to > # Jinx's notifyOfDeath() method. > bond.die I can see the movie now: _Garbage Collect Another Day_... Hal