From: "Florian Groß" Date: 2005-09-20T00:41:42+09:00 Subject: Re: help with tricky proc/binding issue Yukihiro Matsumoto wrote: > |i'm trying to be able to define a proc that can be called in the context of > |self, eg: > | > | block = lambda{ p 42 } > | an_obj.instance_eval &block > | > |but which can also be called with arguments, for example (imaginary ruby): > > I understand what you want. But I haven't come up with a good name > for the function yet. What about Proc#with_self() that will return a new proc similar to the current one, but with a changed self context?