diff options
Diffstat (limited to 'chomp.rb')
-rw-r--r-- | chomp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ module Puppet::Parser::Functions end if value.is_a?(Array) - # Numbers in Puppet are often string-encoded ... + # Numbers in Puppet are often string-encoded which is troublesome ... result = value.collect { |i| i.is_a?(String) ? i.chomp : i } else result = value.chomp |