summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/ast.rb')
-rw-r--r--lib/puppet/parser/ast.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb
index f407c78d6..dffc30a8a 100644
--- a/lib/puppet/parser/ast.rb
+++ b/lib/puppet/parser/ast.rb
@@ -46,7 +46,7 @@ class Puppet::Parser::AST
# of the contained children and evaluates them in turn, returning a
# list of all of the collected values, rejecting nil values
def evaluate(*options)
- raise Puppet::DevError, "Did not override #evaluate in %s" % self.class
+ raise Puppet::DevError, "Did not override #evaluate in #{self.class}"
end
# Throw a parse error.