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

NEWS: small fixes

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2018-10-19 21:37:04 +00:00
parent af7f9de4b9
commit 22d8ff8c96

14
NEWS
View file

@ -29,7 +29,7 @@ sufficient information, see the ChangeLog file or Redmine
(1..).each {|index| ... } # infinite loop from index 1 (1..).each {|index| ... } # infinite loop from index 1
ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { } ary.zip(1..) {|elem, index| ... } # ary.each.with_index(1) { }
* Non- Symbol key in keyword arguments hash causes an exception. * Non-Symbol key in keyword arguments hash causes an exception.
=== Core classes updates (outstanding ones only) === Core classes updates (outstanding ones only)
@ -37,7 +37,7 @@ sufficient information, see the ChangeLog file or Redmine
[New methods] [New methods]
* Added Array#union and Array#difference instance method. [Feature #14097] * Added Array#union and Array#difference instance methods. [Feature #14097]
[Modified methods] [Modified methods]
@ -149,8 +149,8 @@ sufficient information, see the ChangeLog file or Redmine
[Incompatible changes] [Incompatible changes]
* Kernel#system and Kernel#exec do not close non-standard file descriptors * Kernel#system and Kernel#exec do not close non-standard file descriptors
(The default of +:close_others+ option is changed to +false+ by (The default of the +:close_others+ option is changed to +false+,
default. but we still set the +FD_CLOEXEC+ flag on descriptors we but we still set the +FD_CLOEXEC+ flag on descriptors we
create). [Misc #14907] create). [Misc #14907]
[KeyError] [KeyError]
@ -165,7 +165,7 @@ sufficient information, see the ChangeLog file or Redmine
[New methods] [New methods]
* Module#method_defined?, Module#private_method_defined? and * Module#method_defined?, Module#private_method_defined? and
Module#protected_method_defined? now accepts the second Module#protected_method_defined? now accept the second
parameter as optional. If it's +true+ (=default), checks ancestor parameter as optional. If it's +true+ (=default), checks ancestor
modules/classes, or checks only the class itself. [Feature #14944] modules/classes, or checks only the class itself. [Feature #14944]
@ -271,7 +271,7 @@ sufficient information, see the ChangeLog file or Redmine
[FileUtils] [FileUtils]
[New method] [New methods]
* FileUtils#cp_lr. [Feature #4189] * FileUtils#cp_lr. [Feature #4189]
@ -409,7 +409,7 @@ sufficient information, see the ChangeLog file or Redmine
=== Miscellaneous changes === Miscellaneous changes
* On macOS, shared libraries no longer include a full version number of ruby * On macOS, shared libraries no longer include a full version number of Ruby
in their names. This eliminates the burden of each teeny upgrade on the in their names. This eliminates the burden of each teeny upgrade on the
platform that users need to rebuild every extension library. platform that users need to rebuild every extension library.