Class: Puppet::Functions::PuppetFunction
- Inherits:
-
Function
- Object
- Pops::Functions::Function
- Function
- Puppet::Functions::PuppetFunction
- Defined in:
- lib/puppet/functions.rb
Overview
Base class for all functions implemented in the puppet language
Instance Attribute Summary
Attributes inherited from Pops::Functions::Function
Class Method Summary collapse
Methods inherited from Function
argument_mismatch, builder, dispatch, local_types, new
Methods inherited from Pops::Functions::Function
#call, #call_function, #closure_scope, dispatcher, #initialize, signatures
Constructor Details
This class inherits a constructor from Puppet::Pops::Functions::Function
Class Method Details
.init_dispatch(a_closure) ⇒ Object
384 385 386 387 |
# File 'lib/puppet/functions.rb', line 384 def self.init_dispatch(a_closure) # A closure is compatible with a dispatcher - they are both callable signatures dispatcher.add(a_closure) end |