class Puppet::Pops::Lookup::ExplainInterpolate

Public Class Methods

new(parent, expression) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
240 def initialize(parent, expression)
241   super(parent)
242   @expression = expression
243 end

Public Instance Methods

dump_on(io, indent, first_indent) click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
245 def dump_on(io, indent, first_indent)
246   io << first_indent << 'Interpolation on "' << @expression << "\"\n"
247   indent = increase_indent(indent)
248   branches.each {|b| b.dump_on(io, indent, indent)}
249 end
to_hash() click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
251 def to_hash
252   hash = super
253   hash[:expression] = @expression
254   hash
255 end
type() click to toggle source
    # File lib/puppet/pops/lookup/explainer.rb
257 def type
258   :interpolate
259 end