Skip to content

Commit 32099a1

Browse files
author
April M
committed
(maint) Docs - Change 'upcase' to 'capitalize'.
'capitalize' example incorrectly referenced 'upcase'.
1 parent fac3c9d commit 32099a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/functions/capitalize.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# @example Capitalizing a String
1717
# ```puppet
1818
# 'hello'.capitalize()
19-
# upcase('hello')
19+
# capitalize('hello')
2020
# ```
2121
# Would both result in `"Hello"`
2222
#

0 commit comments

Comments
 (0)