# File lib/chef/run_context.rb, line 45 def initialize(node, cookbook_collection) @node = node @cookbook_collection = cookbook_collection @resource_collection = Chef::ResourceCollection.new @definitions = Hash.new # TODO: 5/18/2010 cw/timh - See note on Chef::Node's # cookbook_collection attr_accessor node.cookbook_collection = cookbook_collection end