]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
Fix capitalize docs
authorMatt Flaschen <matthew.flaschen@gatech.edu>
Tue, 27 Oct 2015 22:09:18 +0000 (18:09 -0400)
committerMatt Flaschen <matthew.flaschen@gatech.edu>
Tue, 27 Oct 2015 22:09:18 +0000 (18:09 -0400)
Capitalize lower-cases the remaining characters (due to the Ruby function having this behavior); document this, and make minor wording tweaks.

README.markdown

index 67b2b176396822789213ef71c3cc4952a0b25a31..57a62b6cc2db30c2382b1030105a947bb07cf2cc 100644 (file)
@@ -188,7 +188,7 @@ Requires a single boolean as input. *Type*: rvalue.
 
 #### `capitalize`
 
-Capitalizes the first letter of a string or array of strings. Requires either a single string or an array as an input. *Type*: rvalue.
+Capitalizes the first character of a string or array of strings, and lower-cases the remaining characters of each string. Requires either a single string or an array as an input. *Type*: rvalue.
 
 #### `ceiling`