class Puppet::Pops::Lookup::ExplainScope

Public Class Methods

new(parent, name) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
440 def initialize(parent, name)
441   super(parent)
442   @name = name
443 end

Public Instance Methods

dump_on(io, indent, first_indent) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
445 def dump_on(io, indent, first_indent)
446   io << indent << @name << "\n"
447   indent = increase_indent(indent)
448   branches.each {|b| b.dump_on(io, indent, indent)}
449   dump_outcome(io, indent)
450 end
to_hash() click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
452 def to_hash
453   hash = super
454   hash[:name] = @name
455   hash
456 end
type() click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
458 def type
459   :scope
460 end