mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
This commit is contained in:
parent
d0cf19d9ed
commit
c9447082ec
4 changed files with 13 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue