]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#17797) min() and max() functions
authorErik Dalén <dalen@spotify.com>
Fri, 23 Nov 2012 16:00:04 +0000 (17:00 +0100)
committerJeff McCune <jeff@puppetlabs.com>
Tue, 27 Nov 2012 00:33:44 +0000 (16:33 -0800)
commit9954133844549be7718f8e80de555877f0adb6db
tree170b284a145b06b185c2560a439e40d4f75ba500
parentb55994b2be55c3f03bc089449d07ecef69ec7638
(#17797) min() and max() functions

returns the min or max of all arguments given to them
lib/puppet/parser/functions/max.rb [new file with mode: 0644]
lib/puppet/parser/functions/min.rb [new file with mode: 0644]
spec/unit/puppet/parser/functions/max_spec.rb [new file with mode: 0755]
spec/unit/puppet/parser/functions/min_spec.rb [new file with mode: 0755]