lib/puppet/parser/ast/block_expression.rb
# Evaluate contained expressions, produce result of the last
Evaluate contained expressions, produce result of the last
Evaluate contained expressions produce result of the last
def evaluate(scope)
      result = nil
      @children.each do |child|
        if !child.respond_to?(:instantiate)
          result = child.safeevaluate(scope)
        end
      end
      result
    end
def evaluate ( scope ) result = nil @children . each do | child | if ! child . respond_to? ( :instantiate ) result = child . safeevaluate ( scope ) end end result end
Evaluate contained expressions, produce result of the last
Evaluate contained expressions produce result of the last
# Skip things that respond to :instantiate (classes, nodes, # and definitions), because they have already been # instantiated.
scope
<not_specific>