Class Puppet::Parser::AST::String
In: lib/puppet/parser/ast/leaf.rb
Parent: AST::Leaf

The base string class.

Methods

evaluate  

Public Instance methods

Interpolate the string looking for variables, and then return the result.

[Source]

    # File lib/puppet/parser/ast/leaf.rb, line 38
38:         def evaluate(scope)
39:             return scope.strinterp(@value, @file, @line)
40:         end

[Validate]