Method: Puppet::Functions::Function.argument_mismatch
- Defined in:
- lib/puppet/functions.rb
.argument_mismatch(meth_name, &block) ⇒ Void
Like ‘dispatch` but used for a specific type of argument mismatch. Will not be include in the list of valid parameter overloads for the function.
334 335 336 337 338 |
# File 'lib/puppet/functions.rb', line 334 def self.argument_mismatch(meth_name, &block) builder().instance_eval do dispatch(meth_name, true, &block) end end |