Module: BigDecimal::Deprecation

Included in:
BigDecimal
Defined in:
lib/bigdecimal.rb

Instance Method Summary collapse

Instance Method Details

#new(*args, **kwargs) ⇒ Object



9
10
11
12
# File 'lib/bigdecimal.rb', line 9

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