Method: Chef::GuardInterpreter::ResourceGuardInterpreter#initialize
- Defined in:
- lib/chef/guard_interpreter/resource_guard_interpreter.rb
#initialize(parent_resource, command, opts) ⇒ ResourceGuardInterpreter
Returns a new instance of ResourceGuardInterpreter.
24 25 26 27 28 29 30 |
# File 'lib/chef/guard_interpreter/resource_guard_interpreter.rb', line 24 def initialize(parent_resource, command, opts) @command = command @opts = opts @parent_resource = parent_resource @resource = get_interpreter_resource(parent_resource) end |