Class: Puppet::Pops::Lookup::ExplainScope
- Inherits:
-
ExplainTreeNode
- Object
- ExplainNode
- ExplainTreeNode
- Puppet::Pops::Lookup::ExplainScope
- Defined in:
- lib/puppet/pops/lookup/explainer.rb
Instance Attribute Summary
Attributes inherited from ExplainTreeNode
Instance Method Summary collapse
- #dump_on(io, indent, first_indent) ⇒ Object
-
#initialize(parent) ⇒ ExplainScope
constructor
A new instance of ExplainScope.
- #type ⇒ Object
Methods inherited from ExplainTreeNode
#dump_outcome, #dump_texts, #dump_value, #found, #found_in_defaults, #found_in_overrides, #increase_indent, #module_not_found, #not_found, #path_not_found, #result, #text, #to_hash
Methods inherited from ExplainNode
Constructor Details
#initialize(parent) ⇒ ExplainScope
Returns a new instance of ExplainScope.
416 417 418 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 416 def initialize(parent) super(parent) end |
Instance Method Details
#dump_on(io, indent, first_indent) ⇒ Object
420 421 422 423 424 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 420 def dump_on(io, indent, first_indent) io << indent << 'Global Scope' << "\n" indent = increase_indent(indent) dump_outcome(io, indent) end |
#type ⇒ Object
426 427 428 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 426 def type :scope end |