Puppet Function: phpdump

Defined in:
modules/librenms/lib/puppet/parser/functions/phpdump.rb
Function type:
Ruby 3.x API

Overview

phpdump()Any

Returns:

  • (Any)


36
37
38
39
40
# File 'modules/librenms/lib/puppet/parser/functions/phpdump.rb', line 36

newfunction(:phpdump, :type => :rvalue) do |args|
  fail 'phpdump() requires an argument' if args.empty?
  fail 'phpdump() cannot handle multiple values' if args.length > 1
  phpdump(args.first)
end