From: "David A. Black" Date: 2009-01-27T08:32:53+09:00 Subject: Re: Question about BlankSlate.reveal On Tue, 27 Jan 2009, Robert Klemme wrote: > On 26.01.2009 17:18, Gregory Brown wrote: >> On Mon, Jan 26, 2009 at 8:55 AM, Robert Klemme >> wrote: >> >>> I do not really see caching that extends the instance on which #reveal >>> was invoked. There is actually one closure per instance (more >>> correctly: one closure per call of reveal) and so no global cache. >>> >>> Where exactly is your problem? >> >> I think you missed that the local variable was at the class level. > > Right, you stated so in the text and then I got confused by > "unbound_method.bind(self)". :-) Sorry -- I posted my reply to your earlier post without having noticed this post. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) http://www.wishsight.com => Independent, social wishlist management!