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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb
index d690ff1a8..7aedfb1cc 100644
--- a/lib/puppet/parser/ast.rb
+++ b/lib/puppet/parser/ast.rb
@@ -44,10 +44,10 @@ module Puppet
# Evaluate the current object. Basically just iterates across all
# of the contained children and evaluates them in turn, returning a
# list of all of the collected values, rejecting nil values
- def evaluate(scope)
+ def evaluate(args)
#Puppet.debug("Evaluating ast %s" % @name)
value = self.collect { |obj|
- obj.safeevaluate(scope)
+ obj.safeevaluate(args)
}.reject { |obj|
obj.nil?
}