class Puppet::Pops::Lookup::ExplainSubLookup
Public Class Methods
new(parent, sub_key)
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode::new
# File lib/puppet/pops/lookup/explainer.rb 407 def initialize(parent, sub_key) 408 super(parent) 409 @sub_key = sub_key 410 end
Public Instance Methods
dump_on(io, indent, first_indent)
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 412 def dump_on(io, indent, first_indent) 413 io << indent << 'Sub key: "' << @sub_key.join('.') << "\"\n" 414 indent = increase_indent(indent) 415 branches.each {|b| b.dump_on(io, indent, indent)} 416 dump_outcome(io, indent) 417 end
type()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 419 def type 420 :sub_key 421 end