diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-08 02:08:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-08 02:08:57 +0000 |
commit | 61894e6d5d80fbd3e36bfa543d42b81881027e9c (patch) | |
tree | f77effd107e787f6973e2979e77da8a77cfb5474 /io.c | |
parent | a3fe92fae99f8f7a15e0c850dca87485fe8e523a (diff) | |
download | ruby-61894e6d5d80fbd3e36bfa543d42b81881027e9c.tar.gz |
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
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <code>gets(1)</code> returns character entirely: + * If IO contains multibyte characters byte then <code>gets(1)</code> + * returns character entirely: * * # russian characters take 2 bytes * File.write("testfile", "\u{442 435 441 442}") |