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:
parent
c287deecb6
commit
76b4305a59
Notes:
git
2022-09-21 15:17:36 +09:00
1 changed files with 2 additions and 2 deletions
4
NEWS.md
4
NEWS.md
|
@ -133,8 +133,8 @@ Note: We're only listing outstanding class updates.
|
|||
|
||||
* Regexp
|
||||
* Regexp.new now supports passing the regexp flags not only as an Integer,
|
||||
but also as a String Unknown flags raise errors. Otherwise, anything
|
||||
other than `true`, `false`, `nil` or Integer will be warned.
|
||||
but also as a String. Unknown flags raise ArgumentError.
|
||||
Otherwise, anything other than `true`, `false`, `nil` or Integer will be warned.
|
||||
[[Feature #18788]]
|
||||
|
||||
* Refinement
|
||||
|
|
Loading…
Reference in a new issue