diff options
Diffstat (limited to 'lib/puppet/parser/ast/leaf.rb')
-rw-r--r-- | lib/puppet/parser/ast/leaf.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/leaf.rb b/lib/puppet/parser/ast/leaf.rb index d25527864..5d70460ae 100644 --- a/lib/puppet/parser/ast/leaf.rb +++ b/lib/puppet/parser/ast/leaf.rb @@ -48,7 +48,15 @@ class Puppet::Parser::AST return scope.strinterp(@value) end end - #--------------------------------------------------------------- + + # The base string class. + class FlatString < AST::Leaf + # Interpolate the string looking for variables, and then return + # the result. + def evaluate(scope) + return @value + end + end # The 'default' option on case statements and selectors. class Default < AST::Leaf; end |