1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NEWS: Note for the bigdecimal versions

The differences between bigdecimal 1.3.5, 1.4.0, and 1.5.0 are explained.

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mrkn 2018-12-17 03:08:46 +00:00
parent 6da6492d19
commit 7d4bfb5308

17
NEWS
View file

@ -353,6 +353,23 @@ sufficient information, see the ChangeLog file or Redmine
* BigDecimal() accepts new keyword "exception:" similar to Float().
[Note for the differences among recent versions]
You should want to know the differences among recent versions of bigdecimal.
Please select the suitable version of bigdecimal according to the following
information.
* 1.3.5 has BigDecimal.new without "exception:" keyword. You can see the
deprecation warning of BigDecimal.new when you specify "-w" option.
BigDecimal(), BigDecimal.new, and Object#to_d methods are same.
* 1.4.0 has BigDecimal.new with "exception:" keyword. You always see the
deprecation warning of BigDecimal.new. Object#to_d method is different
from BigDecimal() and BigDecimal.new.
* 1.5.0 will be released after releasing Ruby 2.6.0. This version doesn't
have BigDecimal.new method.
[Bundler]
* Add Bundler to Standard Library. [Feature #12733]