module ArDocStore::Attributes::CallbackSupport::ClassMethods

Public Instance Methods

after_build(method) click to toggle source
# File lib/ar_doc_store/attributes/callback_support.rb, line 17
def after_build(method)
  set_callback :build, :after, method
end
before_build(method) click to toggle source
# File lib/ar_doc_store/attributes/callback_support.rb, line 13
def before_build(method)
  set_callback :build, :before, method
end