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 | b76e27f77370623ca4320e300f5d1e45ac66d758 (patch) | |
tree | 0121480b97ec68b369acc9c7f41261929aa22c4d /NEWS | |
parent | d44f8b7015181762b1d51b87571fb857372fb7f4 (diff) | |
download | ruby-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-- | 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 |