Class: Puppet::Pops::Lookup::ExplainKeySegment Private
- Inherits:
-
ExplainTreeNode
- Object
- ExplainNode
- ExplainTreeNode
- Puppet::Pops::Lookup::ExplainKeySegment
- Defined in:
- lib/puppet/pops/lookup/explainer.rb
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.
Instance Attribute Summary
Attributes inherited from ExplainTreeNode
Instance Method Summary collapse
- #dump_on(io, indent, first_indent) ⇒ Object private
-
#initialize(parent, segment) ⇒ ExplainKeySegment
constructor
private
A new instance of ExplainKeySegment.
- #type ⇒ Object private
Methods inherited from ExplainTreeNode
#dump_outcome, #dump_value, #found, #found_in_defaults, #found_in_overrides, #increase_indent, #location_not_found, #not_found, #result, #to_hash, #to_s
Methods inherited from ExplainNode
#branches, #dump_texts, #explain, #inspect, #text, #to_hash, #to_s
Constructor Details
#initialize(parent, segment) ⇒ ExplainKeySegment
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 ExplainKeySegment.
426 427 428 429 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 426 def initialize(parent, segment) super(parent) @segment = segment end |
Instance Method Details
#dump_on(io, indent, first_indent) ⇒ Object
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.
431 432 433 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 431 def dump_on(io, indent, first_indent) dump_outcome(io, indent) end |
#type ⇒ Object
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.
435 436 437 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 435 def type :segment end |