Sha256: 240b7a40fd5d8dc1db5ea43e6e65060065ec9103c90c7f52285284cd16fc1ec1
Contents?: true
Size: 340 Bytes
Versions: 7
Compression:
Stored size: 340 Bytes
Contents
module Puppet::Parser::Functions newfunction(:min, :type => :rvalue, :doc => <<-EOS Returns the lowest value of all arguments. Requires at least one argument. EOS ) do |args| raise(Puppet::ParseError, "min(): Wrong number of arguments " + "need at least one") if args.size == 0 return args.min end end
Version data entries
7 entries across 7 versions & 1 rubygems