class Puppet::Pops::Lookup::ExplainSubLookup

Public Class Methods

new(parent, sub_key) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
406 def initialize(parent, sub_key)
407   super(parent)
408   @sub_key = sub_key
409 end

Public Instance Methods

dump_on(io, indent, first_indent) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
411 def dump_on(io, indent, first_indent)
412   io << indent << 'Sub key: "' << @sub_key.join('.') << "\"\n"
413   indent = increase_indent(indent)
414   branches.each {|b| b.dump_on(io, indent, indent)}
415   dump_outcome(io, indent)
416 end
type() click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
418 def type
419   :sub_key
420 end