Module: Paperclip::CallbackCompatability::InstanceMethods

Defined in:
lib/dm-paperclip/callback_compatability.rb

Instance Method Summary collapse

Instance Method Details

#run_callbacks(meth, opts = nil, &blk) ⇒ Object

The callbacks in < 2.1 don’t worry about the extra options or the block, so just run what we have available.



28
29
30
# File 'lib/dm-paperclip/callback_compatability.rb', line 28

def run_callbacks(meth, opts = nil, &blk)
  callback(meth)
end