git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-04-15 01:17:51 +00:00
Родитель e78beed499
Коммит 1826991f26
2 изменённых файлов: 14 добавлений и 1 удалений

Просмотреть файл

@ -49,7 +49,7 @@ Wed Apr 13 15:56:35 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
well as Float#round. [Feature #12245]
* numeric.c (flo_floor): add an optional parameter, digits, as
well as Integer#floor. [Feature #12245]
well as Float#round. [Feature #12245]
* numeric.c (int_ceil): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]

13
NEWS
Просмотреть файл

@ -20,6 +20,7 @@ with all sufficient information, see the ChangeLog file or Redmine
=== Core classes updates (outstanding ones only)
* Array
* Array#max and Array#min. [Feature #12172]
This may cause a tiny incompatibility: if you redefine
Enumerable#max and call max to an Array, your redefinition will be
@ -35,6 +36,16 @@ with all sufficient information, see the ChangeLog file or Redmine
* File.empty?. [Feature #9969]
* Float
* Float#ceil and Float#floor now take an optional digits, as well as
Float#round. [Feature #12245]
* Integer
* Integer#ceil and Integer#floor now take an optional digits, as well
as Integer#round. [Feature #12245]
* String
* String.new(capacity: size) [Feature #12024]
@ -50,9 +61,11 @@ with all sufficient information, see the ChangeLog file or Redmine
=== Stdlib updates (outstanding ones only)
* CSV
* Add a liberal_parsing option. [Feature #11839]
* optparse
* Add an into option. [Feature #11191]
=== Stdlib compatibility issues (excluding feature bug fixes)