Module: Puppet::Parser::Functions
- Defined in:
- lib/pfu/parser.rb
Class Method Summary collapse
Class Method Details
.newfunction(funcname, opts = {}, &block) ⇒ Object
8 9 10 |
# File 'lib/pfu/parser.rb', line 8 def self.newfunction(funcname, opts = {}, &block) return [funcname, opts, block.source_location.last] end |