Christoph R.
11/18/2003 12:59:00 PM
------------
/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 <chr_mail@gmx.net> 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