[Nitro] Aspects

George Moschovitis george.moschovitis at gmail.com
Wed Aug 29 10:14:24 EDT 2007


Lets go for the later then...

-g.

On 8/29/07, Trans <transfire at gmail.com> wrote:
>
>
>
> 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
> > implement?
>
> 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.
>
> T.
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://www.me.gr
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070829/7dfd81b9/attachment.html 


More information about the Nitro-general mailing list