From: "Aleksi Niemelä" Date: 2001-02-08T20:15:40+09:00 Subject: [ruby-talk:10562] Re: Giving a Proc utility methods? On Thu, 8 Feb 2001, Aleksi Niemel� wrote: > On Thu, 8 Feb 2001, The Other Clemens wrote: > > > IMHO: The reason for this behavior is, that the block closure "takes" its > > binding upon its creation time, which in your case is the "main context" > > of the program. > > True. I meant it seems the proc has hard times to refer to itSelf at runtime. I'd guess this is actually pretty common operation (although I haven't used it ever) because it's pretty common for normal methods to refer the instance object with self. I'd guess someone knowledgeable points out a way or explains why there isn't any. - Aleksi