First page Back Continue Last page Overview Graphics


Notes:

You just override any class or instance method and call super to get the default behavior. No aliasing necessary.

Plugins that override a method and call super end up calling the previous plugin that overrode the method.

You can override methods directly in the class and call super, which will call the most recent plugin that overrode the method.

I used these techniques recently to add three of DataMapper's formally unique features to Sequel::Model as optional plugins.