From: robruma Date: Thu, 12 Feb 2015 01:27:30 +0000 (-0500) Subject: Adding markdown for the range() function's 3rd argument X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=380cb02a65f51a520dc5ee000b605d3b7dbe9bd4;p=puppet-stdlib.git Adding markdown for the range() function's 3rd argument Adding markdown for the range() function's 3rd argument Adding markdown for the range() function's 3rd argument --- diff --git a/README.markdown b/README.markdown index ac0cae6..26a6b94 100644 --- a/README.markdown +++ b/README.markdown @@ -382,6 +382,8 @@ Calling the class or definition from outside the current module will fail. For e Non-integer strings are accepted; `range("a", "c")` returns ["a","b","c"], and `range("host01", "host10")` returns ["host01", "host02", ..., "host09", "host10"]. + Passing a third argument will cause the generated range to step by that interval, e.g. `range("0", "9", "2")` returns ["0","2","4","6","8"] + *Type*: rvalue * `reject`: This function searches through an array and rejects all elements that match the provided regular expression. For example, `reject(['aaa','bbb','ccc','aaaddd'], 'aaa')` returns ['bbb','ccc']. *Type*: rvalue