Land #11449, enhance BigDecimal deprecation message suppression

4.x
Pearce Barry 2019-02-21 22:40:24 -06:00 committed by Metasploit
parent f73b2dbc09
commit 0da81ccff8
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ require 'backports'
require 'bigdecimal'
def BigDecimal.new(*args, **kwargs)
return BigDecimal(*args) if kwargs.empty?
BigDecimal(*args, **kwargs)
end
# Remove bigdecimal warning - end