summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/capitalize.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/capitalize.rb')
-rw-r--r--lib/puppet/parser/functions/capitalize.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/capitalize.rb b/lib/puppet/parser/functions/capitalize.rb
index f902cb3..640d00b 100644
--- a/lib/puppet/parser/functions/capitalize.rb
+++ b/lib/puppet/parser/functions/capitalize.rb
@@ -4,6 +4,8 @@
module Puppet::Parser::Functions
newfunction(:capitalize, :type => :rvalue, :doc => <<-EOS
+ Capitalizes the first letter of a string or array of strings.
+ Requires either a single string or an array as an input.
EOS
) do |arguments|