Method: Chef::RunContext::CookbookCompiler#initialize
- Defined in:
- lib/chef/run_context/cookbook_compiler.rb
#initialize(run_context, run_list_expansion, events) ⇒ CookbookCompiler
Returns a new instance of CookbookCompiler.
37 38 39 40 41 42 43 |
# File 'lib/chef/run_context/cookbook_compiler.rb', line 37 def initialize(run_context, run_list_expansion, events) @run_context = run_context @events = events @run_list_expansion = run_list_expansion @cookbook_order = nil @logger = run_context.logger.with_child(subsystem: "cookbook_compiler") end |