class Chef::RunContext::ChildRunContext

A child run context. Delegates all root context calls to its parent.

@api private

Constants

CHILD_STATE

Public Class Methods

new(parent_run_context) click to toggle source
# File lib/chef/run_context.rb, line 751
def initialize(parent_run_context)
  @parent_run_context = parent_run_context

  # We don't call super, because we don't bother initializing stuff we're
  # going to delegate to the parent anyway.  Just initialize things that
  # every instance needs.
  initialize_child_state
end