[ruby-core:71627] [Ruby trunk - Bug #11730] [Open] read_nonblock's call-seq missing options

From: zn@...
Date: 2015-11-22 08:32:50 UTC
List: ruby-core #71627
Issue #11730 has been reported by Kazuhiro NISHIYAMA.

----------------------------------------
Bug #11730: read_nonblock's call-seq missing options
https://bugs.ruby-lang.org/issues/11730

* Author: Kazuhiro NISHIYAMA
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
`IO#write_nonblock` call-seq has `[, options]`, but `IO#read_nonblock` does not.

In prelude.rb:

~~~
  # call-seq:
  #    ios.read_nonblock(maxlen)              -> string
  #    ios.read_nonblock(maxlen, outbuf)      -> outbuf
~~~

~~~
  # call-seq:
  #    ios.write_nonblock(string)   -> integer
  #    ios.write_nonblock(string [, options])   -> integer
~~~



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next