class Puppet::Functions::PuppetFunction

Base class for all functions implemented in the puppet language

Public Class Methods

init_dispatch(a_closure) click to toggle source
    # File lib/puppet/functions.rb
382 def self.init_dispatch(a_closure)
383   # A closure is compatible with a dispatcher - they are both callable signatures
384   dispatcher.add(a_closure)
385 end