summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_numeric.rb
AgeCommit message (Collapse)Author
2015-05-27validate_integer, validate_numeric: explicitely reject hashes in arraysDavid Schmitt
Without this patch, Ruby 1.8's Hash#to_s behaviour causes [{1=>2}] to be treated as "12" when validating values.
2014-12-05Fixing ruby 1.8 support.Oliver Bertuch
2014-12-04Add new functions validate_numeric() and validate_integer().Oliver Bertuch