Method: Puppet::Functions::PuppetFunction.init_dispatch
- Defined in:
- lib/puppet/functions.rb
.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 |