module PoiseProfiler::CoreExt::CookbookVersion
Monkeypatch extensions for Chef::CookbookVersion to support the new recipe_loaded event.
@since 1.1.0 @api private
Public Instance Methods
load_recipe(recipe_name, run_context)
click to toggle source
Calls superclass method
# File lib/poise_profiler/core_ext/cookbook_version.rb, line 29 def load_recipe(recipe_name, run_context) super.tap do |recipe| run_context.events.recipe_loaded("#{name}::#{recipe_name}") end end