summaryrefslogtreecommitdiff
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
commit2258a97fe2b21da9ec294ccedd00b3bbbc85cb07 (patch)
tree0121480b97ec68b369acc9c7f41261929aa22c4d /NEWS
parentd13a2d498cb2758cd71523e1099f9591c30c2b86 (diff)
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