diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-30 21:59:12 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-30 21:59:12 +0000 |
| commit | 8d7144c06b4e25b4b883863285fd5033c6a44084 (patch) | |
| tree | f5c89b3bf8b085688e0eaf24e644606cb6afc706 /string.c | |
| parent | 6305a4c3cf3df74f595687f004fdbb1c0f55d57c (diff) | |
| download | ruby-8d7144c06b4e25b4b883863285fd5033c6a44084.tar.gz ruby-8d7144c06b4e25b4b883863285fd5033c6a44084.tar.xz ruby-8d7144c06b4e25b4b883863285fd5033c6a44084.zip | |
* string.c (rb_str_scan): already String#scan behaves differently
regarding if block is given.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -4272,8 +4272,6 @@ rb_str_scan(str, pat) long start = 0; VALUE match = Qnil; - RETURN_ENUMERATOR(str, 1, &pat); - pat = get_pat(pat, 1); if (!rb_block_given_p()) { VALUE ary = rb_ary_new(); |
