lib/koin.rb in koin-0.5.1 vs lib/koin.rb in koin-0.5.2
- old
+ new
@@ -6,10 +6,9 @@
def initialize(value, currency = nil)
@currency = currency&.upcase
if value.is_a?(Float)
- puts "VALUE IS A FLOAT! #{value}"
super(value, 16)
elsif value.is_a?(Koin)
@currency ||= value.currency
super(value)
elsif value.is_a?(String) || value.is_a?(Integer) || value.is_a?(BigDecimal) || value.is_a?(Numeric)