summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown17
1 files changed, 12 insertions, 5 deletions
diff --git a/README.markdown b/README.markdown
index 76c546f..e9ad53b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -145,6 +145,11 @@ Would result in:
['1','2','3','4','5','6']
+ concat(['1','2','3'],'4')
+
+Would result in:
+
+ ['1','2','3','4']
- *Type*: rvalue
@@ -275,6 +280,8 @@ Returns true if the variable is empty.
ensure_packages
---------------
Takes a list of packages and only installs them if they don't already exist.
+It optionally takes a hash as a second parameter that will be passed as the
+third argument to the ensure_resource() function.
- *Type*: statement
@@ -1199,13 +1206,13 @@ to a number.
The following values will pass:
- validate_slength("discombobulate",17)
- validate_slength(["discombobulate","moo"],17)
+ validate_slength("discombobulate",17)
+ validate_slength(["discombobulate","moo"],17)
-The following valueis will not:
+The following values will not:
- validate_slength("discombobulate",1)
- validate_slength(["discombobulate","thermometer"],5)
+ validate_slength("discombobulate",1)
+ validate_slength(["discombobulate","thermometer"],5)