Class: Puppet::Functions::PuppetFunction
Overview
Base class for all functions implemented in the puppet language
Class Method Summary collapse
Methods inherited from Function
argument_mismatch, builder, dispatch, local_types, new
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 |