aboutsummaryrefslogtreecommitdiffstats
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
commit7c26c6fe712e5cacd888019652ebc76f35773121 (patch)
tree10f044d17a0bef18fe734164b9d2cf038fd9fed4 /prelude.rb
parent58f7083187dd18726f5a45a22be10fcd0cdb3d63 (diff)
downloadruby-7c26c6fe712e5cacd888019652ebc76f35773121.tar.gz
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 c9764ec839..7b98e28285 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