summaryrefslogtreecommitdiff
path: root/abs.rb
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-04-30 02:54:47 +0100
committerKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-04-30 02:54:47 +0100
commit4da6d8222eeca060ad91c9a49f965ec1150a37c2 (patch)
treecd1d49007085dfaebe9d52b9bd5c7be03723b8da /abs.rb
parentdb7a27cf5b0cb5667b17e2cbc686bff4be3966b7 (diff)
downloadpuppet-stdlib-4da6d8222eeca060ad91c9a49f965ec1150a37c2.tar.gz
puppet-stdlib-4da6d8222eeca060ad91c9a49f965ec1150a37c2.tar.bz2
Changed wording of the note in the comment.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Diffstat (limited to 'abs.rb')
-rw-r--r--abs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs.rb b/abs.rb
index c3e90d4..0a554e4 100644
--- a/abs.rb
+++ b/abs.rb
@@ -12,7 +12,7 @@ module Puppet::Parser::Functions
value = arguments[0]
- # Numbers in Puppet are often string-encoded ...
+ # Numbers in Puppet are often string-encoded which is troublesome ...
if value.is_a?(String)
if value.match(/^-?(?:\d+)(?:\.\d+){1}$/)
value = value.to_f