summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-10 09:20:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-10 09:20:28 +0000
commit7f9f8d381e8ff2ed6fd98cafef74c64544094562 (patch)
treea2098cbc5f65586255cace476960f2b9b580c94d /string.c
parent9dc2db4ff31331f5039b281970543ff91f3a8661 (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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/string.c b/string.c
index 2bebf06c03..d868df7faf 100644
--- a/string.c
+++ b/string.c
@@ -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}