Module | Sequel::Plugins::InstanceHooks
In: | lib/sequel/plugins/instance_hooks.rb

The instance_hooks plugin allows you to add hooks to specific instances, by passing a block to a _hook method (e.g. before_save_hook{do_something}). The block executed when the hook is called (e.g. before_save).

All of the standard hooks are supported, except for after_initialize. Instance level before hooks are executed in reverse order of addition before calling super. Instance level after hooks are executed in order of addition after calling super. If any of the instance level before hook blocks return false, no more instance level before hooks are called and false is returned.

Instance level hooks are cleared when the object is saved successfully.

### Classes and Modules

Module Sequel::Plugins::InstanceHooks::InstanceMethods

[Validate]