[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 1:14:00 PM


ts wrote:
...
>
> C> Okay, for pre's and post's I would expect "normal"
> inheritance - this
> C> would also be pretty useful IMO. In fact, this might even become
> C> popular idiom.
>
> You expect that super in B#foo:pre call A#foo:pre ?

Yes

>
> This is this or it make another call ?

Furthermore I would expect that the pre/ post
hooks are (and hence wrap buy association) are
only invoked at B'level - otherwise A#foo:pre/pst
would be called twice.


/Christoph