class Puppet::Pops::Lookup::ExplainTop

Public Class Methods

new(parent, type, key) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
164 def initialize(parent, type, key)
165   super(parent)
166   @type = type
167   self.key = key.to_s
168 end

Public Instance Methods

dump_on(io, indent, first_indent) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
170 def dump_on(io, indent, first_indent)
171   io << first_indent << 'Searching for "' << key << "\"\n"
172   indent = increase_indent(indent)
173   branches.each {|b| b.dump_on(io, indent, indent)}
174 end