diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-07 14:08:44 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-07 14:08:44 +0000 |
commit | f373be86e3d1622506013b8b202839e3c211e777 () | |
tree | e9bc9051e6d6244426dc23598791f24c56520e37 /prelude.rb | |
parent | e924e657b6f9ab1bf359b56cb8137e6ab73e9b4f (diff) |
add missing options to call-seq of IO#read_nonblock
* prelude.rb (IO#read_nonblock): [DOC] add missing options to call-seq. [ruby-core:71627] [Bug #11730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | prelude.rb | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -18,8 +18,8 @@ end class IO # call-seq: - # ios.read_nonblock(maxlen) -> string - # ios.read_nonblock(maxlen, outbuf) -> outbuf # # Reads at most <i>maxlen</i> bytes from <em>ios</em> using # the read(2) system call after O_NONBLOCK is set for @@ -66,6 +66,10 @@ class IO # # Note that this method is identical to readpartial # except the non-blocking flag is set. def read_nonblock(len, buf = nil, exception: true) __read_nonblock(len, buf, exception) end |