diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-15 11:08:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-15 11:08:04 +0000 |
commit | 2258a97fe2b21da9ec294ccedd00b3bbbc85cb07 (patch) | |
tree | 0121480b97ec68b369acc9c7f41261929aa22c4d /NEWS | |
parent | d13a2d498cb2758cd71523e1099f9591c30c2b86 (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-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |