From 2258a97fe2b21da9ec294ccedd00b3bbbc85cb07 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 15 Mar 2018 11:08:04 +0000 Subject: 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 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') 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 -- cgit v1.2.3