From 86eda6244d3a9ec1d3a76e164f47917bd65ef8a2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 8 Nov 2015 02:08:57 +0000 Subject: io.c: [DOC] IO#gets [skip ci] * io.c (rb_io_gets_m): [DOC] fix class name and reword as "multibyte". [Fix GH-1085] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io.c b/io.c index 0305386507..c546edfbbf 100644 --- a/io.c +++ b/io.c @@ -3292,8 +3292,8 @@ rb_io_gets(VALUE io) * File.new("testfile").gets #=> "This is line one\n" * $_ #=> "This is line one\n" * - * If StringIO contains characters more than 1 byte - * then gets(1) returns character entirely: + * If IO contains multibyte characters byte then gets(1) + * returns character entirely: * * # russian characters take 2 bytes * File.write("testfile", "\u{442 435 441 442}") -- cgit v1.2.3