class Puppet::Pops::Lookup::ExplainInterpolate
Public Class Methods
new(parent, expression)
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode::new
# File lib/puppet/pops/lookup/explainer.rb 241 def initialize(parent, expression) 242 super(parent) 243 @expression = expression 244 end
Public Instance Methods
dump_on(io, indent, first_indent)
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 246 def dump_on(io, indent, first_indent) 247 io << first_indent << 'Interpolation on "' << @expression << "\"\n" 248 indent = increase_indent(indent) 249 branches.each {|b| b.dump_on(io, indent, indent)} 250 end
to_hash()
click to toggle source
Calls superclass method
Puppet::Pops::Lookup::ExplainTreeNode#to_hash
# File lib/puppet/pops/lookup/explainer.rb 252 def to_hash 253 hash = super 254 hash[:expression] = @expression 255 hash 256 end
type()
click to toggle source
# File lib/puppet/pops/lookup/explainer.rb 258 def type 259 :interpolate 260 end