summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobruma <robruma@gmail.com>2015-02-11 20:27:30 -0500
committerrobruma <robruma@gmail.com>2015-03-04 18:01:29 -0500
commit380cb02a65f51a520dc5ee000b605d3b7dbe9bd4 (patch)
tree576d954e4d88f83b93ce9dd48c971195cea98bd1
parentb8547b7c29801ca3d89230dfc95716d6f93040ab (diff)
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
-rw-r--r--README.markdown2
1 files changed, 2 insertions, 0 deletions
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