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

[DOC] Improve NEWS.md

Fix missing dot and replace error with ArgumentError.
This commit is contained in:
Mau Magnaguagno 2022-08-29 18:47:32 -03:00 committed by Hiroshi SHIBATA
parent c287deecb6
commit 76b4305a59
Notes: git 2022-09-21 15:17:36 +09:00

View file

@ -133,8 +133,8 @@ Note: We're only listing outstanding class updates.
* Regexp * Regexp
* Regexp.new now supports passing the regexp flags not only as an Integer, * Regexp.new now supports passing the regexp flags not only as an Integer,
but also as a String Unknown flags raise errors. Otherwise, anything but also as a String. Unknown flags raise ArgumentError.
other than `true`, `false`, `nil` or Integer will be warned. Otherwise, anything other than `true`, `false`, `nil` or Integer will be warned.
[[Feature #18788]] [[Feature #18788]]
* Refinement * Refinement