lib/stringex/localization/converter.rb in stringex-2.8.1 vs lib/stringex/localization/converter.rb in stringex-2.8.2
- old
+ new
@@ -35,10 +35,10 @@
string.gsub! expression, replacement
end
end
def normalize_currency!
- string.gsub! /(\d+),(\d+)/, '\1\2'
+ string.gsub!(/(\d+),(\d+)/, '\1\2')
end
def smart_strip!
string.strip!
@string = "#{starting_whitespace}#{string}#{ending_whitespace}"