lib/finrb/amortization.rb in finrb-0.1.2 vs lib/finrb/amortization.rb in finrb-0.1.3
- old
+ new
@@ -191,9 +191,9 @@
end
class Numeric
# @see Amortization#new
# @api public
- def amortize(*rates, &block)
- Finrb::Amortization.new(self, *rates, &block)
+ def amortize(...)
+ Finrb::Amortization.new(self, ...)
end
end