Project

General

Profile

« Previous | Next » 

Revision 2258a97f

Added by nobu (Nobuyoshi Nakada) about 6 years ago

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