Method: Chef::EventDispatch::Dispatcher#enqueue

Defined in:
lib/chef/event_dispatch/dispatcher.rb

#enqueue(method_name, *args) ⇒ Object



36
37
38
39
# File 'lib/chef/event_dispatch/dispatcher.rb', line 36

def enqueue(method_name, *args)
  event_list << [ method_name, *args ]
  process_events_until_done unless @in_call
end