Module: Chef::Provider::InlineResources

Defined in:
lib/chefspec/extensions/chef/lwrp_base.rb

Overview

~> 12.5

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#initialize(resource, run_context) ⇒ Object


10
11
12
13
14
# File 'lib/chefspec/extensions/chef/lwrp_base.rb', line 10

def initialize(resource, run_context)
  super
  @run_context = run_context
  @resource_collection = run_context.resource_collection
end