./lib/overload/integer.rb in lux-fw-0.1.35 vs ./lib/overload/integer.rb in lux-fw-0.2.1

- old
+ new

@@ -8,12 +8,8 @@ "#{self} #{desc.to_s.pluralize}" end end def dotted - data = self.to_s - while data.sub!(/(\d)(\d{3})$/, "\\1.\\2") - 1 - end - data + self.to_s.reverse.gsub(/(\d{3})(?=\d)/, '\\1.').reverse end end