From: David Alan Black Date: 2001-09-09T05:13:16+09:00 Subject: [ruby-talk:21012] Re: destructor Hello -- On Sun, 9 Sep 2001, Ned Konz wrote: > On Saturday 08 September 2001 07:59 am, David Alan Black wrote: > > > > Why are you passing the block to new() here? What if it doesn't take one? > > > > The &blk thing is provisional, like *params: > > Ah. So if the constructor took a different block than you wanted to pass to > use, you'd have to use proc to pass it in params? I guess some changes have been made to the specific example, but anyway: yes :-) Only one block can be associated with each method call, so to have more than one block travel through a chain of method calls, the others have to travel as arguments. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav