From: Eugene Ventimiglia Date: 2001-03-01T04:39:45+09:00 Subject: [ruby-talk:11808] Re: How do I reach members from a Proc? > From: dave@thomases.com [mailto:dave@thomases.com]On Behalf Of Dave > > "Eugene Ventimiglia" writes: > > > It works, but it's a shame to have to pass the instance all the > way in... > > If 'help' is all you want to call, you could pass in a closure that > references it instead. That might be better encapsulation. Bleach! If you've gotta go through all the trouble of passing *anything* in, it should be the reference to the containing object. It's just painful doing that when 'install' knows who 'self' is. Is there a way to pass it from the install function? --e