Module: Sequel::Plugins::InstanceHooks::InstanceMethods
- Defined in:
- lib/sequel/plugins/instance_hooks.rb
Constant Summary collapse
Instance Method Summary collapse
-
#after_save ⇒ Object
Clear the instance level hooks after saving the object.
Instance Method Details
#after_save ⇒ Object
Clear the instance level hooks after saving the object.
24 25 26 27 28 |
# File 'lib/sequel/plugins/instance_hooks.rb', line 24 def after_save super run_instance_hooks(:after_save) @instance_hooks.clear if @instance_hooks end |