module

Granite::Callbacks

Constants

CALLBACK_NAMES = ["before_save", "after_save", "before_create", "after_create", "before_update", "after_update", "before_destroy", "after_destroy"] of ::String

Instance methods

abort!(message = "Aborted at #{@_current_callback}.")
Source

Macros

__after_create
Source
__after_destroy
Source
__after_save
Source
__after_update
Source
__before_create
Source
__before_destroy
Source
__before_save
Source
__before_update
Source
after_create(*callbacks, &block)
Source
after_destroy(*callbacks, &block)
Source
after_save(*callbacks, &block)
Source
after_update(*callbacks, &block)
Source
before_create(*callbacks, &block)
Source
before_destroy(*callbacks, &block)
Source
before_save(*callbacks, &block)
Source
before_update(*callbacks, &block)
Source

Nested types