From: Dave Thomas Date: 2001-09-09T00:16:04+09:00 Subject: [ruby-talk:21006] Re: destructor ts writes: > >>>>> "N" == Nat Pryce writes: > > N> Finally, instead of 'return yield(obj)' shouldn't it be 'return > N> block.call(obj)' ? > > Probaly a little faster with yield Although I probably shouldn't be picking up the block parameter and passing it to the constructor > > What I've not understood is 'include Resource' rather than > 'extend Resource' I'm not sure, except that 'include' is familiar syntax for users of the module. Are there benefits to using extend? Dave