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

ruby-changes:63671

From: Jeremy <ko1@a...>
Date: Sat, 21 Nov 2020 16:37:31 +0900 (JST)
Subject: [ruby-changes:63671] d645f18f0f (master): Minor fixes to NEWS for String subclass method change [ci skip]

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

From d645f18f0fd6b9bd5373ef99b95b04b29f73472b Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Fri, 20 Nov 2020 23:36:46 -0800
Subject: Minor fixes to NEWS for String subclass method change [ci skip]


diff --git a/NEWS.md b/NEWS.md
index f79fe93..a1838f1 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -271,8 +271,8 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L271
 
     * Modified methods
 
-        * The following methods now return String instances instead of
-          subclass instances when called on subclass instances:
+        * The following methods now return or yield String instances
+          instead of subclass instances when called on subclass instances:
           [[Bug #10845]]
 
             * `String#*`
@@ -285,7 +285,9 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L285
             * `String#delete_suffix`
             * `String#downcase`
             * `String#dump`
-            * `String#each/#each_line`
+            * `String#each_char`
+            * `String#each_grapheme_cluster`
+            * `String#each_line`
             * `String#gsub`
             * `String#ljust`
             * `String#lstrip`
-- 
cgit v0.10.2


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

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