ruby-changes:4852
From: ko1@a...
Date: Sat, 10 May 2008 18:20:39 +0900 (JST)
Subject: [ruby-changes:4852] matz - Ruby:r16346 (ruby_1_8): * string.c (rb_str_each_line): RDoc updated.
matz 2008-05-10 18:20:28 +0900 (Sat, 10 May 2008) New Revision: 16346 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/string.c Log: * string.c (rb_str_each_line): RDoc updated. [ruby-dev:34586] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16346&r2=16345&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/string.c?r1=16346&r2=16345&diff_format=u Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 16345) +++ ruby_1_8/ChangeLog (revision 16346) @@ -1,3 +1,7 @@ +Sat May 10 18:19:16 2008 Yukihiro Matsumoto <matz@r...> + + * string.c (rb_str_each_line): RDoc updated. [ruby-dev:34586] + Sat May 10 13:17:56 2008 Hidetoshi NAGAI <nagai@a...> * ext/tk/lib/tk/pack.rb, ext/tk/lib/tk/grid.rb: increase parameter Index: ruby_1_8/string.c =================================================================== --- ruby_1_8/string.c (revision 16345) +++ ruby_1_8/string.c (revision 16346) @@ -3698,9 +3698,8 @@ * * 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} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/