aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-15 11:08:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-15 11:08:04 +0000
commitb76e27f77370623ca4320e300f5d1e45ac66d758 (patch)
tree0121480b97ec68b369acc9c7f41261929aa22c4d /NEWS
parentd44f8b7015181762b1d51b87571fb857372fb7f4 (diff)
downloadruby-b76e27f77370623ca4320e300f5d1e45ac66d758.tar.gz
string.c: split with block
* string.c (rb_str_split_m): yield each split substrings if the block is given, instead of returing the array. [Feature #4780] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5ca32c67a2..1850bdcd43 100644
--- a/NEWS
+++ b/NEWS
@@ -93,6 +93,10 @@ with all sufficient information, see the ChangeLog file or Redmine
* added Random.bytes. [Feature #4938]
+* String
+
+ * String#split yields each substrings to the block if given. [Feature #4780]
+
=== Stdlib updates (outstanding ones only)
* ERB