mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io.c: Fix spelling [ci skip]
* io.c (io_read) Fix spelling in docco for read. [Fix GH-781] try > tries git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a88e787277
commit
eaa80a6fa5
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Dec 12 08:16:01 2014 Matt Hoyle <matt@deployable.co>
|
||||
|
||||
* io.c (io_read) Fix spelling in docco for read. [Fix GH-781]
|
||||
try > tries
|
||||
|
||||
Thu Dec 11 19:06:01 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* class.c (class_alloc): Start from age == 2.
|
||||
|
|
2
io.c
2
io.c
|
@ -2805,7 +2805,7 @@ rb_io_write_nonblock(int argc, VALUE *argv, VALUE io)
|
|||
* <i>length</i> must be a non-negative integer or <code>nil</code>.
|
||||
*
|
||||
* If <i>length</i> is a positive integer,
|
||||
* it try to read <i>length</i> bytes without any conversion (binary mode).
|
||||
* it tries to read <i>length</i> bytes without any conversion (binary mode).
|
||||
* It returns <code>nil</code> or a string whose length is 1 to <i>length</i> bytes.
|
||||
* <code>nil</code> means it met EOF at beginning.
|
||||
* The 1 to <i>length</i>-1 bytes string means it met EOF after reading the result.
|
||||
|
|
Loading…
Add table
Reference in a new issue