Class: Chef::Resource::OneFlowTemplate
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Resource::OneFlowTemplate
- Defined in:
- lib/chef/resource/one_flow_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.
-
#mode_equal ⇒ Object
Returns the value of attribute mode_equal.
-
#template_equal ⇒ Object
Returns the value of attribute template_equal.
Instance Method Summary collapse
-
#initialize(*args) ⇒ OneFlowTemplate
constructor
A new instance of OneFlowTemplate.
Constructor Details
#initialize(*args) ⇒ OneFlowTemplate
Returns a new instance of OneFlowTemplate.
47 48 49 50 |
# File 'lib/chef/resource/one_flow_template.rb', line 47 def initialize(*args) super @driver = run_context.chef_provisioning.current_driver end |
Instance Attribute Details
#equal ⇒ Object
Returns the value of attribute equal.
42 43 44 |
# File 'lib/chef/resource/one_flow_template.rb', line 42 def equal @equal end |
#exists ⇒ Object
Returns the value of attribute exists.
42 43 44 |
# File 'lib/chef/resource/one_flow_template.rb', line 42 def exists @exists end |
#mode_equal ⇒ Object
Returns the value of attribute mode_equal.
42 43 44 |
# File 'lib/chef/resource/one_flow_template.rb', line 42 def mode_equal @mode_equal end |
#template_equal ⇒ Object
Returns the value of attribute template_equal.
42 43 44 |
# File 'lib/chef/resource/one_flow_template.rb', line 42 def template_equal @template_equal end |