mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] keyword argument _exception_
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
53b4bf3134
commit
95a476c859
4 changed files with 15 additions and 15 deletions
|
@ -68,7 +68,7 @@ class IO
|
|||
# Note that this method is identical to readpartial
|
||||
# except the non-blocking flag is set.
|
||||
#
|
||||
# By specifying `exception: false`, the options hash allows you to indicate
|
||||
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||
# that read_nonblock should not raise an IO::WaitReadable exception, but
|
||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||
# of raising EOFError.
|
||||
|
@ -127,7 +127,7 @@ class IO
|
|||
# according to the kind of the IO object.
|
||||
# In such cases, write_nonblock raises <code>Errno::EBADF</code>.
|
||||
#
|
||||
# By specifying `exception: false`, the options hash allows you to indicate
|
||||
# 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue