Module: Paperclip::CallbackCompatability::InstanceMethods

Defined in:
lib/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/paperclip/callback_compatability.rb', line 28

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