class Puppet::Pops::Lookup::ExplainGlobal
Public Class Methods
new(parent, binding_terminus)
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode::new
# File lib/puppet/pops/lookup/explainer.rb 315 def initialize(parent, binding_terminus) 316 super(parent) 317 @binding_terminus = binding_terminus 318 end
Public Instance Methods
dump_on(io, indent, first_indent)
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 320 def dump_on(io, indent, first_indent) 321 io << first_indent << 'Data Binding "' << @binding_terminus.to_s << "\"\n" 322 indent = increase_indent(indent) 323 branches.each {|b| b.dump_on(io, indent, indent)} 324 dump_outcome(io, indent) 325 end
to_hash()
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode#to_hash
# File lib/puppet/pops/lookup/explainer.rb 327 def to_hash 328 hash = super 329 hash[:name] = @binding_terminus 330 hash 331 end
type()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 333 def type 334 :global 335 end