mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mentioned new constants for Process and Socket classes on NEWS.md
This commit is contained in:
parent
ec93d09c94
commit
f07e651a90
1 changed files with 13 additions and 0 deletions
13
NEWS.md
13
NEWS.md
|
@ -131,6 +131,9 @@ Note: We're only listing outstanding class updates.
|
|||
* Proc#dup returns an instance of subclass. [[Bug #17545]]
|
||||
* Proc#parameters now accepts lambda keyword. [[Feature #15357]]
|
||||
|
||||
* Process
|
||||
* Added `RLIMIT_NPTS` constant to FreeBSD platform
|
||||
|
||||
* Regexp
|
||||
* Regexp.new now supports passing the regexp flags not only as an Integer,
|
||||
but also as a String. Unknown flags raise ArgumentError.
|
||||
|
@ -144,6 +147,16 @@ Note: We're only listing outstanding class updates.
|
|||
* Set is now available as a built-in class without the need for `require "set"`. [[Feature #16989]]
|
||||
It is currently autoloaded via the `Set` constant or a call to `Enumerable#to_set`.
|
||||
|
||||
* Socket
|
||||
* Added the following constants for supported platforms.
|
||||
* `SO_INCOMING_CPU`
|
||||
* `SO_INCOMING_NAPI_ID`
|
||||
* `SO_RTABLE`
|
||||
* `SO_SETFIB`
|
||||
* `SO_USER_COOKIE`
|
||||
* `TCP_KEEPALIVE`
|
||||
* `TCP_CONNECTION_INFO`
|
||||
|
||||
* String
|
||||
* String#byteindex and String#byterindex have been added. [[Feature #13110]]
|
||||
* Update Unicode to Version 14.0.0 and Emoji Version 14.0. [[Feature #18037]]
|
||||
|
|
Loading…
Reference in a new issue