Class: Chef::Resource::OneTemplate
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Resource::OneTemplate
- Defined in:
- lib/chef/resource/one_template.rb
Overview
Implementation of Resource class.
Instance Attribute Summary collapse
-
#equal ⇒ Object
Returns the value of attribute equal.
-
#exists ⇒ Object
Returns the value of attribute exists.
Instance Method Summary collapse
-
#initialize(*args) ⇒ OneTemplate
constructor
A new instance of OneTemplate.
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
#equal ⇒ Object
Returns the value of attribute equal.
40 41 42 |
# File 'lib/chef/resource/one_template.rb', line 40 def equal @equal end |
#exists ⇒ Object
Returns the value of attribute exists.
39 40 41 |
# File 'lib/chef/resource/one_template.rb', line 39 def exists @exists end |