Module: ArDocStore::Attributes::CallbackSupport::ClassMethods
- Defined in:
- lib/ar_doc_store/attributes/callback_support.rb
Instance Method Summary collapse
Instance Method Details
#after_build(method) ⇒ Object
17 18 19 |
# File 'lib/ar_doc_store/attributes/callback_support.rb', line 17 def after_build(method) set_callback :build, :after, method end |
#before_build(method) ⇒ Object
13 14 15 |
# File 'lib/ar_doc_store/attributes/callback_support.rb', line 13 def before_build(method) set_callback :build, :before, method end |