class Puppet::Pops::Lookup::ExplainScope
Public Class Methods
new(parent, name)
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode::new
# File lib/puppet/pops/lookup/explainer.rb 439 def initialize(parent, name) 440 super(parent) 441 @name = name 442 end
Public Instance Methods
dump_on(io, indent, first_indent)
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 444 def dump_on(io, indent, first_indent) 445 io << indent << @name << "\n" 446 indent = increase_indent(indent) 447 branches.each {|b| b.dump_on(io, indent, indent)} 448 dump_outcome(io, indent) 449 end
to_hash()
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode#to_hash
# File lib/puppet/pops/lookup/explainer.rb 451 def to_hash 452 hash = super 453 hash[:name] = @name 454 hash 455 end
type()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 457 def type 458 :scope 459 end