summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/abs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/abs.rb')
-rw-r--r--lib/puppet/parser/functions/abs.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/abs.rb b/lib/puppet/parser/functions/abs.rb
index 0a554e4..ade5462 100644
--- a/lib/puppet/parser/functions/abs.rb
+++ b/lib/puppet/parser/functions/abs.rb
@@ -4,6 +4,8 @@
module Puppet::Parser::Functions
newfunction(:abs, :type => :rvalue, :doc => <<-EOS
+ Returns the absolute value of a number, for example -34.56 becomes
+ 34.56. Takes a single integer and float value as an argument.
EOS
) do |arguments|