Module: Larynx::Callbacks::InstanceMethods

Defined in:
lib/larynx/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#fire_callback(callback, *args) ⇒ Object



26
27
28
# File 'lib/larynx/callbacks.rb', line 26

def fire_callback(callback, *args)
  @callbacks && @callbacks[callback] && @callbacks[callback].call(*args)
end