diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-10 09:20:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-10 09:20:28 +0000 |
commit | 7f9f8d381e8ff2ed6fd98cafef74c64544094562 (patch) | |
tree | a2098cbc5f65586255cace476960f2b9b580c94d /string.c | |
parent | 9dc2db4ff31331f5039b281970543ff91f3a8661 (diff) |
* string.c (rb_str_each_line): RDoc updated. [ruby-dev:34586]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3698,9 +3698,8 @@ rb_f_split(argc, argv) * * Splits <i>str</i> using the supplied parameter as the record separator * (<code>$/</code> by default), passing each substring in turn to the supplied - * block. If a zero-length record separator is supplied, the string is split on - * <code>\n</code> characters, except that multiple successive newlines are - * appended together. + * block. If a zero-length record separator is supplied, the string is split + * into paragraphs delimited by multiple successive newlines. * * print "Example one\n" * "hello\nworld".each {|s| p s} |