ruby-changes:39137
From: nobu <ko1@a...>
Date: Sat, 11 Jul 2015 21:17:01 +0900 (JST)
Subject: [ruby-changes:39137] nobu:r51218 (trunk): stringio.c: Fix an example doc [ci skip]
nobu 2015-07-11 21:16:37 +0900 (Sat, 11 Jul 2015) New Revision: 51218 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51218 Log: stringio.c: Fix an example doc [ci skip] * ext/stringio/stringio.c (Init_stringio): [DOC] Fix an example, StringIO#puts should be set "\n" at last. [Fix GH-965] Modified files: trunk/ChangeLog trunk/ext/stringio/stringio.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51217) +++ ChangeLog (revision 51218) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Jul 11 21:16:34 2015 ksss <co000ri@g...> + + * ext/stringio/stringio.c (Init_stringio): [DOC] Fix an example, + StringIO#puts should be set "\n" at last. [Fix GH-965] + Sat Jul 11 12:45:51 2015 Nobuyoshi Nakada <nobu@r...> * lib/timeout.rb (Timeout#timeout): remove regexp with wrong line Index: ext/stringio/stringio.c =================================================================== --- ext/stringio/stringio.c (revision 51217) +++ ext/stringio/stringio.c (revision 51218) @@ -1501,7 +1501,7 @@ strio_set_encoding(int argc, VALUE *argv https://github.com/ruby/ruby/blob/trunk/ext/stringio/stringio.c#L1501 * * io = StringIO.new * io.puts "Hello World" - * io.string #=> "Hello World" + * io.string #=> "Hello World\n" */ void Init_stringio(void) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/