lib/pagarme/plan.rb in pagarme-1.9.2 vs lib/pagarme/plan.rb in pagarme-1.9.3
- old
+ new
@@ -17,13 +17,13 @@
super
end
def format_amount(amount)
if amount.kind_of?(String)
- value = amount.gsub(/\./, "")
- value = value.strip
- value = value.match(/\d+/)[0]
- amount = value
+ value = amount.gsub(/\./, "")
+ value = value.strip
+ value = value.match(/\d+/)[0]
+ amount = value
end
amount
end
private