module PoiseProfiler::CoreExt::Dispatcher

Monkeypatch extensions for Chef::EventDispatch::Dispatcher to support the new recipe_loaded event.

@since 1.1.0 @api private

Public Instance Methods

recipe_loaded(*args) click to toggle source
# File lib/poise_profiler/core_ext/dispatcher.rb, line 29
def recipe_loaded(*args)
  if defined?(call_subscribers)
    call_subscribers(:recipe_loaded, *args)
  else
    @subscribers.each { |s| s.recipe_loaded(*args) }
  end
end