]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Add a count function
authorErik Dalén <dalen@spotify.com>
Wed, 10 Apr 2013 12:38:14 +0000 (14:38 +0200)
committerErik Dalén <dalen@spotify.com>
Wed, 10 Apr 2013 12:39:25 +0000 (14:39 +0200)
commitf28550e78996f908b076cdc9aebcbe584c777cd0
tree4fa56de8a3318a65be54f77f030027069bdb4e77
parent6f9361e383982c5b719bbdf17ed72b85850b9d91
Add a count function

Similar to the ruby count method on arrays.
lib/puppet/parser/functions/count.rb [new file with mode: 0644]
spec/unit/puppet/parser/functions/count_spec.rb [new file with mode: 0644]