summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorBryan Jen <bryan.jen@gmail.com>2016-05-03 15:09:33 -0700
committerBryan Jen <bryan.jen@gmail.com>2016-05-03 15:09:33 -0700
commitf48747b8af8fdad455cfd5b5d0d2c2abfd8c9415 (patch)
tree4edf52d916fc14ea8a3bb023b505c6cfa2e27441 /README.markdown
parent9e1f74f3fcac4aeaccade3ea92e6cafbaf71a64f (diff)
parent2a75ed08a1b967d5d64144c449a1c1aed50e8d78 (diff)
Merge pull request #603 from puppetlabs/4.12.x
Mergeback 4.12.x
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown11
1 files changed, 4 insertions, 7 deletions
diff --git a/README.markdown b/README.markdown
index 9e62d1c..1ef6509 100644
--- a/README.markdown
+++ b/README.markdown
@@ -146,11 +146,9 @@ Converts any object to an array containing that object. Empty argument lists are
#### `base64`
-Converts a string to and from base64 encoding.
-Requires an `action` ('encode', 'decode') and either a plain or base64-encoded `string`,
-and an optional `method` ('default', 'strict', 'urlsafe')
+Converts a string to and from base64 encoding. Requires an `action` ('encode', 'decode') and either a plain or base64-encoded `string`, and an optional `method` ('default', 'strict', 'urlsafe')
-for backward compatibility, `metohd` will be set as `default` if not specified.
+For backward compatibility, `method` will be set as `default` if not specified.
*Examples:*
~~~
@@ -265,7 +263,7 @@ Takes a resource reference and an optional hash of attributes. Returns 'true' if
#### `delete`
-Deletes all instances of a given element from an array, substring from a string, or key from a hash. Arrays and hashes may also match on regular expressions. For example, `delete(['a','b','c','b'], 'b')` returns ['a','c']; `delete('abracadabra', 'bra')` returns 'acada'. `delete({'a' => 1,'b' => 2,'c' => 3},['b','c'])` returns {'a'=> 1}, `delete(['abf', 'ab', 'ac'], '^ab.*')` returns ['ac']. *Type*: rvalue.
+Deletes all instances of a given element from an array, substring from a string, or key from a hash. For example, `delete(['a','b','c','b'], 'b')` returns ['a','c']; `delete('abracadabra', 'bra')` returns 'acada'. `delete({'a' => 1,'b' => 2,'c' => 3},['b','c'])` returns {'a'=> 1}. *Type*: rvalue.
#### `delete_at`
@@ -346,8 +344,7 @@ Returns true if the argument is an array or hash that contains no elements, or a
#### `enclose_ipv6`
-Takes an array of ip addresses and encloses the ipv6 addresses with square
-brackets. *Type*: rvalue.
+Takes an array of ip addresses and encloses the ipv6 addresses with square brackets. *Type*: rvalue.
#### `ensure_packages`