Method: Exposure::Callbacks::ClassMethods#after

Defined in:
lib/exposure/behaviors/callbacks.rb

#after(trigger, *actions) ⇒ Object

access point for creating and configuring after_ callbacks.



18
19
20
21
22
23
# File 'lib/exposure/behaviors/callbacks.rb', line 18

def after(trigger, *actions)
  options = actions.extract_options!
  actions.each do |action|
    build_callback('after', trigger, action, options)
  end
end