diff options
Diffstat (limited to 'lib/puppet/parser/ast/astarray.rb')
-rw-r--r-- | lib/puppet/parser/ast/astarray.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast/astarray.rb b/lib/puppet/parser/ast/astarray.rb index dfd2bcd09..f0a0c5602 100644 --- a/lib/puppet/parser/ast/astarray.rb +++ b/lib/puppet/parser/ast/astarray.rb @@ -34,7 +34,7 @@ class Puppet::Parser::AST rets = items.flatten.collect { |child| child.safeevaluate(scope) } - return rets.reject { |o| o.nil? } + rets.reject { |o| o.nil? } end def push(*ary) @@ -45,7 +45,7 @@ class Puppet::Parser::AST @children.push(child) } - return self + self end def to_s |