The Facets library has a lot of cool methods,
one of which ('wrap_method') can intercept calls.
http://facets.rubyforge.org/rdoc/index.html
ako... wrote:
> is there a way in ruby to set up a hook that would intercept calls to
> any methods of a class?