gcao/aspect4r — Issue #35: Support new way of assigning advice method name
Author: gcao
Created: 2011-10-20 18:51:02+00:00
State: open

Currently, you just add the advice method as the last argument, it looks a bit confusing. e.g. :meth4 is the advice method below, you won't tell that easily.

before :meth1, :meth2, :meth3, :meth4

Solution 1:

before [:meth1, :meth2, :meth3], :meth4

Solution 2:

before :meth1, :meth2, :meth3, :run => :meth4