Class: Chef::Resource::OneTemplate

Inherits:
LWRPBase
  • Object
show all
Defined in:
lib/chef/resource/one_template.rb

Overview

Implementation of Resource class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ OneTemplate

Returns a new instance of OneTemplate.



42
43
44
45
# File 'lib/chef/resource/one_template.rb', line 42

def initialize(*args)
  super
  @driver = run_context.chef_provisioning.current_driver
end

Instance Attribute Details

#equalObject

Returns the value of attribute equal.



40
41
42
# File 'lib/chef/resource/one_template.rb', line 40

def equal
  @equal
end

#existsObject

Returns the value of attribute exists.



39
40
41
# File 'lib/chef/resource/one_template.rb', line 39

def exists
  @exists
end