summaryrefslogtreecommitdiff
path: root/prelude.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-23 02:40:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-23 02:40:17 +0000
commitc9447082ecbcab5dab9dcbcaa93686648008d8f8 (patch)
tree10f044d17a0bef18fe734164b9d2cf038fd9fed4 /prelude.rb
parentd0cf19d9ed3a84e20fc20f70e84d95218944d8e4 (diff)
Revert r57690 except for read_nonblock
https://github.com/ruby/ruby/pull/1527#issuecomment-281867551 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'prelude.rb')
-rw-r--r--prelude.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/prelude.rb b/prelude.rb
index c9764ec..7b98e28 100644
--- a/prelude.rb
+++ b/prelude.rb
@@ -129,8 +129,7 @@ class IO
#
# By specifying a keyword argument _exception_ to +false+, you can indicate
# that write_nonblock should not raise an IO::WaitWritable exception, but
- # return the symbol +:wait_writable+ instead. At EOF, it will return nil
- # instead of raising EOFError.
+ # return the symbol +:wait_writable+ instead.
def write_nonblock(buf, exception: true)
__write_nonblock(buf, exception)
end