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_value, #found, #found_in_defaults, #found_in_overrides, #increase_indent, #module_not_found, #not_found, #path_not_found, #result, #to_hash
Methods inherited from ExplainNode
Constructor Details
#initialize(parent) ⇒ ExplainScope
Returns a new instance of ExplainScope.
371 372 373 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 371 def initialize(parent) super(parent) end |
Instance Method Details
#dump_on(io, indent, first_indent) ⇒ Object
375 376 377 378 379 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 375 def dump_on(io, indent, first_indent) io << indent << 'Global Scope' << "\"\n" indent = increase_indent(indent) dump_outcome(io, indent) end |
#type ⇒ Object
381 382 383 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 381 def type :scope end |