From: Richard Dale Date: 2003-07-15T19:36:13+09:00 Subject: Re: Custom method_missing doesn't trap super call Jim Cain wrote: > Brian Candler wrote: > >> On Tue, Jul 15, 2003 at 03:01:10PM +0900, Jim Cain wrote: >> >>>My goal is to wrap the instance variable @obj so that, from the outside >>>of the Wrapper object, it responds exactly like the @obj would. >> >> >> << snip code >> >> >>>Comments? >> >> >> It looks like you have reinvented the delegator pattern: >> http://www.rubycentral.com/book/lib_patterns.html >> >> Cheers, >> >> Brian. >> >> > > Well crap, wouldn't you know... I guess I need to do some more exploring > through Ruby resources. But thanks - I'll experiment with the delegator suggestions - I think this is a fun problem to try and solve somehow.. -- Richard