1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] fixed the return value of IO#ready? [ci skip]

IO#ready? returns true or false only, since r50262(1baa57b003).
This commit is contained in:
Nobuyoshi Nakada 2019-09-25 20:51:20 +09:00
parent 6d578164f5
commit 5b1fd79ad9
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -95,10 +95,9 @@ io_nread(VALUE io)
/*
* call-seq:
* io.ready? -> true, false or nil
* io.ready? -> true or false
*
* Returns true if input available without blocking, or false.
* Returns nil if no information available.
*/
static VALUE