ruby/ext/bigdecimal/lib/bigdecimal.rb

7 строки
179 B
Ruby

require 'bigdecimal.so'
def BigDecimal.new(*args, **kwargs)
warn "BigDecimal.new is deprecated; use BigDecimal() method instead.", uplevel: 1
BigDecimal(*args, **kwargs)
end