lib/pagseguro/order.rb in pagseguro-0.1.2 vs lib/pagseguro/order.rb in pagseguro-0.1.3.beta.1

- old
+ new

@@ -63,11 +63,11 @@ def add(options) self << options end private - def convert_unit(number, unit) - number = (number * unit).to_i unless number.nil? || number.kind_of?(Integer) - number - end + def convert_unit(number, unit) + number = (number * unit).to_i unless number.nil? || number.kind_of?(Integer) + number + end end end