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