Module: AuditedChangeSet::Change::Hooks::ClassMethods
- Defined in:
- lib/audited_change_set/change.rb
Instance Method Summary collapse
Instance Method Details
#hook(method, &block) ⇒ Object
13 14 15 |
# File 'lib/audited_change_set/change.rb', line 13 def hook(method, &block) hooks[method] = block end |
#hooks ⇒ Object
9 10 11 |
# File 'lib/audited_change_set/change.rb', line 9 def hooks @hooks ||= {} end |