Robert Klemme
4/7/2008 11:26:00 AM
2008/4/7, Sonar Volta <buistov@softline.kiev.ua>:
> Greetings,
>
> I'm new in Ruby, so my question might seem a bit stupid. I have a
> third-party module wired into my project (ActiveScaffold). It defines
> some empty method:
>
> [code]
> module ActiveScaffold::Actions
>
> module Update
>
> ......
>
> # override this method if you want to do something after the save
> def after_update_save(record); end
>
> end
> end
>
> [/code]
>
> which I need to override. How do I do this?
You simply define it in the class that includes this module. Or you
define it in a module that inherits this module.
Kind regards
robert
--
use.inject do |as, often| as.you_can - without end