apotonick/hooks — pull request #7 by davidcelis (2012-07-06 17:15:53+00:00)
Title: Make `define_hook` takes multiple hook names

This is a patch to make `define_hook` more useful. In classes with
multiple hooks, defining each hook on a separate line can take up a lot
of space. For single hooks, `define_hook` is still available for
semantics. However, for multiple hooks, you can define them all with the
same call:

`define_hooks :before_dinner, :after_dinner, :another_hook`

Signed-off-by: David Celis