[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Yet Another Rite Thought: method combination

Christoph R.

11/18/2003 10:20:00 AM

ts wrote:

...
> R> Well, def foo:wrap still defines a method,
>
> Are you sure ?
>
> Now how do you see that super don't follow the inheritence
> hierarchy ?
>
> In the example, matz use only one class, difficult to speak
> about inheritence with only one class

So the meaning of super varies when used in the wrap context.
What will be the meaning of super when used in foo:pre or
foo:post? While I kind of like the hook scheme I am not sure
I if like this C++/Java-ish keyword overloading.


/Christoph