Class: Puppet::Parser::AST::FlatString

Inherits:
Leaf show all
Defined in:
lib/puppet/parser/ast/leaf.rb

Overview

An uninterpreted string.

Instance Attribute Summary

Attributes inherited from Leaf

#type, #value

Instance Method Summary collapse

Methods inherited from Leaf

#match

Instance Method Details

#evaluate(scope) ⇒ Object



48
49
50
# File 'lib/puppet/parser/ast/leaf.rb', line 48

def evaluate(scope)
  @value
end

#to_sObject



52
53
54
# File 'lib/puppet/parser/ast/leaf.rb', line 52

def to_s
  @value.inspect
end