[前][次][番号順一覧][スレッド一覧]

ruby-changes:73654

From: Mau <ko1@a...>
Date: Wed, 21 Sep 2022 15:17:29 +0900 (JST)
Subject: [ruby-changes:73654] 76b4305a59 (master): [DOC] Improve NEWS.md

https://git.ruby-lang.org/ruby.git/commit/?id=76b4305a59

From 76b4305a595c4d35241cc55f6382a86bb0c2af23 Mon Sep 17 00:00:00 2001
From: Mau Magnaguagno <maumagnaguagno@g...>
Date: Mon, 29 Aug 2022 18:47:32 -0300
Subject: [DOC] Improve NEWS.md

Fix missing dot and replace error with ArgumentError.
---
 NEWS.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/NEWS.md b/NEWS.md
index df9d7e42b0..ec8a4aae9f 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -133,8 +133,8 @@ Note: We're only listing outstanding class updates. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L133
 
 * 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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]