summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorHelen Campbell <helen@puppetlabs.com>2015-11-09 15:14:34 +0000
committerHelen Campbell <helen@puppetlabs.com>2015-11-09 15:14:34 +0000
commit99db9827412f93e5f2d74eb86f6a25cd214823ae (patch)
treea8ba3f9ea27ee8be88485df501bf6e6bf18b5128 /README.markdown
parent5d8a5ac63130320252fcb53010fe13eb4c07963e (diff)
downloadpuppet-stdlib-99db9827412f93e5f2d74eb86f6a25cd214823ae.tar.gz
puppet-stdlib-99db9827412f93e5f2d74eb86f6a25cd214823ae.tar.bz2
pick_default addition to readme
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 57a62b6..9ff242c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -624,6 +624,10 @@ From a list of values, returns the first value that is not undefined or an empty
*Type*: rvalue.
+#### `pick_default`
+
+Will return the first value in a list of values. Contrary to the 'pick()' function, the 'pick_default()' does not fail if all arguments are empty. This allows it to use an empty value as default. *Type*: rvalue.
+
#### `prefix`
Applies a prefix to all elements in an array, or to the keys in a hash.