Class: ChefCLI::Policyfile::AttributeMergeChecker::Leaf Private
- Inherits:
-
Object
- Object
- ChefCLI::Policyfile::AttributeMergeChecker::Leaf
- Defined in:
- lib/chef-cli/policyfile/attribute_merge_checker.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A Leaf is used to mark an individual attribute that has already been provided, along with its value and by who
Instance Attribute Summary collapse
- #provided_by ⇒ Object readonly private
- #val ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(provided_by, val) ⇒ Leaf
constructor
private
A new instance of Leaf.
Constructor Details
#initialize(provided_by, val) ⇒ Leaf
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Leaf.
43 44 45 46 |
# File 'lib/chef-cli/policyfile/attribute_merge_checker.rb', line 43 def initialize(provided_by, val) @provided_by = provided_by @val = val end |
Instance Attribute Details
#provided_by ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
40 41 42 |
# File 'lib/chef-cli/policyfile/attribute_merge_checker.rb', line 40 def provided_by @provided_by end |
#val ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
41 42 43 |
# File 'lib/chef-cli/policyfile/attribute_merge_checker.rb', line 41 def val @val end |