From 7c26c6fe712e5cacd888019652ebc76f35773121 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 23 Feb 2017 02:40:17 +0000 Subject: 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 --- prelude.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'prelude.rb') 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 -- cgit v1.2.3