Class: Puppet::Parser::AST::Nop

Inherits:
Leaf show all
Defined in:
lib/puppet/parser/ast/nop.rb

Overview

This class is a no-op, it doesn’t produce anything when evaluated, hence its name :-)

Instance Attribute Summary

Attributes inherited from Leaf

#type, #value

Instance Method Summary collapse

Methods inherited from Leaf

#match, #to_s

Instance Method Details

#evaluate(scope) ⇒ Object



7
8
9
# File 'lib/puppet/parser/ast/nop.rb', line 7

def evaluate(scope)
  # nothing to do
end