diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-30 02:54:47 +0100 |
---|---|---|
committer | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-30 02:54:47 +0100 |
commit | 4da6d8222eeca060ad91c9a49f965ec1150a37c2 (patch) | |
tree | cd1d49007085dfaebe9d52b9bd5c7be03723b8da /abs.rb | |
parent | db7a27cf5b0cb5667b17e2cbc686bff4be3966b7 (diff) | |
download | puppet-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.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |