Method: Callbacks::InstanceMethods#callback

Defined in:
lib/mixins/callbacks.rb

#callback(call_time, *args, &block) ⇒ Object

Callbacks on bootstrap and configuration Defines the callback accessors:

call_before/after_bootstrap/configure_callbacks

When called, this method will first check to see if there are plugins and call those plugin’s callbacks when called The method (before/after_bootstrap/configure) is called on self if the callback method is defined on self



20
21
22
23
# File 'lib/mixins/callbacks.rb', line 20

def callback(call_time, *args, &block)
  on_all_callbacks(call_time, *args, &block)
  callback_on_self(call_time, *args, &block)
end