Class: Puppet::Parser::AST::PopsBridge::NilAsUndefExpression
- Inherits:
-
Expression
- Object
- Leaf
- Expression
- Puppet::Parser::AST::PopsBridge::NilAsUndefExpression
- Defined in:
- lib/puppet/parser/ast/pops_bridge.rb
Instance Attribute Summary
Attributes inherited from Leaf
Instance Method Summary collapse
Methods inherited from Expression
#children, #each, #initialize, #sequence_with, #to_s
Methods inherited from Leaf
Constructor Details
This class inherits a constructor from Puppet::Parser::AST::PopsBridge::Expression
Instance Method Details
#evaluate(scope) ⇒ Object
59 60 61 62 |
# File 'lib/puppet/parser/ast/pops_bridge.rb', line 59 def evaluate(scope) result = super result.nil? ? :undef : result end |