Can you explain the use of the option "args"? It seems to be the
return value of the method that is after'ed. Is that right?
MyClass.after( :feature => :blee ) do |context, feature, args,
block|
Mole::DbMole.mole_it( context, feature, context.session[:user_id],
:args => args )
end
On Apr 15, 1:39 am, "Fernand Galiana" <fernand.gali...@gmail.com>
wrote:
Thanks for the info. You might change the API for after(), since it
currently has the following example:
MyClass.after( :feature => :blee ) do |context, feature, args,
block|
Mole::DbMole.mole_it( context, feature, context.session[:user_id],
:args => args )
end
On Apr 15, 1:39 am, "Fernand Galiana" <fernand.gali...@gmail.com>
wrote:
> Hi Patrick,
>
> No worries... We are expecting lots of questions since this thing is new
> and
> we for sure haven't thought of all the cases...
>
> There are two cases here:
>
> 1) The before call -- The signature goes as follows
>
> MyClass.before ( :feature => :blee ) do | ctx, feature, *args|