From: Christoph Date: 2003-11-18T21:59:16+09:00 Subject: Re: Yet Another Rite Thought: method combination ------------ /Christoph Please send off list mail to 'my_mail@gmy.net'.gsub(/y/,'x') > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Tuesday, 18 November, 2003 01:43 PM > To: ruby-talk ML > Cc: ruby-talk@ruby-lang.org > Subject: Re: Yet Another Rite Thought: method combination > > >>>>> "C" == Christoph writes: > > >> Can you give me an example with 2 classes (inheritance + > wrappers) ? > > C> class A > > OK, but I want also the output, i.e. what you expect :-))) Not sure:-)) (at least for wrap's). > > C> def foo:pre > C> super > ^^^^^ Okay, for pre's and post's I would expect "normal" inheritance - this would also be pretty useful IMO. In fact, this might even become popular idiom. /Christoph