mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e7d6fc01dd
commit
8c0b261d48
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jul 11 21:16:34 2015 ksss <co000ri@gmail.com>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* lib/timeout.rb (Timeout#timeout): remove regexp with wrong line
|
||||
|
|
|
@ -1501,7 +1501,7 @@ strio_set_encoding(int argc, VALUE *argv, VALUE self)
|
|||
*
|
||||
* io = StringIO.new
|
||||
* io.puts "Hello World"
|
||||
* io.string #=> "Hello World"
|
||||
* io.string #=> "Hello World\n"
|
||||
*/
|
||||
void
|
||||
Init_stringio(void)
|
||||
|
|
Loading…
Reference in a new issue