transfire at gmail.com
Wed Aug 29 08:56:40 EDT 2007
On Aug 28, 9:23 pm, "George Moschovitis"
<george.moschovi... at gmail.com> wrote:
> > Should it be 'BEFORE:y' or just 'y' b/c Y#x overrides everything in X?
> I would say 'BEFORE:y' but I am not really sure. Which is easier to
The later is easier. The difficulty with the 'BEFORE:y' is if #super
is called. The method in class Y runs the advice and then the method
in the superclass runs it again. So to do it, I have to figure out a
way for it to only run once.
More information about the Nitro-general