From 7f9f8d381e8ff2ed6fd98cafef74c64544094562 Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 10 May 2008 09:20:28 +0000 Subject: * 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 --- string.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'string.c') 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 str using the supplied parameter as the record separator * ($/ by default), passing each substring in turn to the supplied - * block. If a zero-length record separator is supplied, the string is split on - * \n 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} -- cgit v1.2.3