class Puppet::Pops::Lookup::ExplainTop

Public Class Methods

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

Public Instance Methods

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