From: Christoph Date: 2003-11-22T22:52:29+09:00 Subject: Re: Method wrapper question (was "stereotyping (was ...)) ts wrote: ... > G> Well, I'm not sure what I want in this case. Wrapping > methods is a > G> great idea to satisfy a common idiom. I think it does seem a bit > G> wrong not to allow multiple wrappers, though. The idiom > as it stands > > Perhaps in this case, you can also have multiple def in the > same class :-) > > G> What method are you talking about? > > module B > def a:pre > end > end > > class A > include B > > def a:pre > end > > def a > end > end Well technically they do not live in the same class, since the a:pre provided by B's inclusion lives in A's B-proxy class and not in A itself. /Christoph