puppetlabs-stdlib/lib/puppet
Steve Huff 4a5218a8af Reworked number-handling logic
No more coercing to String and regex matching.  Instead, we now coerce
to Integer at the beginning or raise an error if we cannot coerce to
Integer.

A consequence of this change is that the function will now accept
blatantly non-numeric strings as input, and return false.  This seems a
bit goofy to me, but it's how String#to_i works.  If we really don't
like this, then I'm open to suggestions.
2013-03-29 12:54:37 -04:00
..
parser/functions Reworked number-handling logic 2013-03-29 12:54:37 -04:00
provider/file_line changed .count to .size to support legacy ruby 2013-02-18 12:21:34 -08:00
type (#14670) autorequire a file_line resource's path 2012-11-26 10:35:18 -08:00