Sha256: 5332f05177953672cf312a5106146f610e6c5c02d733ecfe85e3fc03ea9ebe58
Contents?: true
Size: 480 Bytes
Versions: 5
Compression:
Stored size: 480 Bytes
Contents
require 'puppet/parser/ast/branch' class Puppet::Parser::AST # A separate ElseIf statement; can function as an 'else' if there's no # test. class Else < AST::Branch attr_accessor :statements def each yield @statements end # Evaluate the actual statements; this only gets called if # our test was true matched. def evaluate(scope) return @statements.safeevaluate(scope) end end end
Version data entries
5 entries across 5 versions & 1 rubygems