[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
@ -164,7 +164,7 @@ module OpenSSL::Buffering
|
|||||||
# when the peer requests a new TLS/SSL handshake. See openssl the FAQ for
|
# when the peer requests a new TLS/SSL handshake. See openssl the FAQ for
|
||||||
# more details. http://www.openssl.org/support/faq.html
|
# more details. http://www.openssl.org/support/faq.html
|
||||||
#
|
#
|
||||||
# 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::Wait*able exception, but
|
# that read_nonblock should not raise an IO::Wait*able exception, but
|
||||||
# return the symbol :wait_writable or :wait_readable instead. At EOF, it will
|
# return the symbol :wait_writable or :wait_readable instead. At EOF, it will
|
||||||
# return nil instead of raising EOFError.
|
# return nil instead of raising EOFError.
|
||||||
@ -377,7 +377,7 @@ module OpenSSL::Buffering
|
|||||||
# is when the peer requests a new TLS/SSL handshake. See the openssl FAQ
|
# is when the peer requests a new TLS/SSL handshake. See the openssl FAQ
|
||||||
# for more details. http://www.openssl.org/support/faq.html
|
# for more details. http://www.openssl.org/support/faq.html
|
||||||
#
|
#
|
||||||
# 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::Wait*able exception, but
|
# that write_nonblock should not raise an IO::Wait*able exception, but
|
||||||
# return the symbol :wait_writable or :wait_readable instead. At EOF, it will
|
# return the symbol :wait_writable or :wait_readable instead. At EOF, it will
|
||||||
# return nil instead of raising EOFError.
|
# return nil instead of raising EOFError.
|
||||||
|
@ -1598,7 +1598,7 @@ ossl_ssl_connect(VALUE self)
|
|||||||
* retry
|
* retry
|
||||||
* end
|
* end
|
||||||
*
|
*
|
||||||
* By specifying `exception: false`, the options hash allows you to indicate
|
* By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
* that connect_nonblock should not raise an IO::WaitReadable or
|
* that connect_nonblock should not raise an IO::WaitReadable or
|
||||||
* IO::WaitWritable exception, but return the symbol :wait_readable or
|
* IO::WaitWritable exception, but return the symbol :wait_readable or
|
||||||
* :wait_writable instead. At EOF, it will return nil instead of raising EOFError.
|
* :wait_writable instead. At EOF, it will return nil instead of raising EOFError.
|
||||||
@ -1646,7 +1646,7 @@ ossl_ssl_accept(VALUE self)
|
|||||||
* retry
|
* retry
|
||||||
* end
|
* end
|
||||||
*
|
*
|
||||||
* By specifying `exception: false`, the options hash allows you to indicate
|
* By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
* that accept_nonblock should not raise an IO::WaitReadable or
|
* that accept_nonblock should not raise an IO::WaitReadable or
|
||||||
* IO::WaitWritable exception, but return the symbol :wait_readable or
|
* IO::WaitWritable exception, but return the symbol :wait_readable or
|
||||||
* :wait_writable instead. At EOF, it will return nil instead of raising EOFError.
|
* :wait_writable instead. At EOF, it will return nil instead of raising EOFError.
|
||||||
|
@ -313,7 +313,7 @@ class BasicSocket < IO
|
|||||||
# but the non-blocking flag is set before the system call
|
# but the non-blocking flag is set before the system call
|
||||||
# and it doesn't retry the system call.
|
# and it doesn't retry the system call.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the _opts_ hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that sendmsg_nonblock should not raise an IO::WaitWritable exception, but
|
# that sendmsg_nonblock should not raise an IO::WaitWritable exception, but
|
||||||
# return the symbol :wait_writable instead. At EOF, it will return nil instead
|
# return the symbol :wait_writable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -362,7 +362,7 @@ class BasicSocket < IO
|
|||||||
# it is extended by IO::WaitReadable.
|
# it is extended by IO::WaitReadable.
|
||||||
# So IO::WaitReadable can be used to rescue the exceptions for retrying recv_nonblock.
|
# So IO::WaitReadable can be used to rescue the exceptions for retrying recv_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that recv_nonblock should not raise an IO::WaitReadable exception, but
|
# that recv_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -437,7 +437,7 @@ class BasicSocket < IO
|
|||||||
# but non-blocking flag is set before the system call
|
# but non-blocking flag is set before the system call
|
||||||
# and it doesn't retry the system call.
|
# and it doesn't retry the system call.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the _opts_ hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that recvmsg_nonblock should not raise an IO::WaitReadable exception, but
|
# that recvmsg_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -515,7 +515,7 @@ class Socket < BasicSocket
|
|||||||
# So IO::WaitReadable can be used to rescue the exceptions for retrying
|
# So IO::WaitReadable can be used to rescue the exceptions for retrying
|
||||||
# recvfrom_nonblock.
|
# recvfrom_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that recvfrom_nonblock should not raise an IO::WaitReadable exception, but
|
# that recvfrom_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -573,7 +573,7 @@ class Socket < BasicSocket
|
|||||||
# it is extended by IO::WaitReadable.
|
# it is extended by IO::WaitReadable.
|
||||||
# So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
# So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that accept_nonblock should not raise an IO::WaitReadable exception, but
|
# that accept_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -1193,7 +1193,7 @@ class Socket < BasicSocket
|
|||||||
# it is extended by IO::WaitWritable.
|
# it is extended by IO::WaitWritable.
|
||||||
# So IO::WaitWritable can be used to rescue the exceptions for retrying connect_nonblock.
|
# So IO::WaitWritable can be used to rescue the exceptions for retrying connect_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that connect_nonblock should not raise an IO::WaitWritable exception, but
|
# that connect_nonblock should not raise an IO::WaitWritable exception, but
|
||||||
# return the symbol :wait_writable instead. At EOF, it will return nil instead
|
# return the symbol :wait_writable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -1252,7 +1252,7 @@ class UDPSocket < IPSocket
|
|||||||
# it is extended by IO::WaitReadable.
|
# it is extended by IO::WaitReadable.
|
||||||
# So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
|
# So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that recvfrom_nonblock should not raise an IO::WaitReadable exception, but
|
# that recvfrom_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -1294,7 +1294,7 @@ class TCPServer < TCPSocket
|
|||||||
# it is extended by IO::WaitReadable.
|
# it is extended by IO::WaitReadable.
|
||||||
# So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
# So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that accept_nonblock should not raise an IO::WaitReadable exception, but
|
# that accept_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -1336,7 +1336,7 @@ class UNIXServer < UNIXSocket
|
|||||||
# it is extended by IO::WaitReadable.
|
# it is extended by IO::WaitReadable.
|
||||||
# So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
# So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock.
|
||||||
#
|
#
|
||||||
# By specifying `exception: false`, the options hash allows you to indicate
|
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||||
# that accept_nonblock should not raise an IO::WaitReadable exception, but
|
# that accept_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
|
@ -68,7 +68,7 @@ class IO
|
|||||||
# Note that this method is identical to readpartial
|
# Note that this method is identical to readpartial
|
||||||
# except the non-blocking flag is set.
|
# 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
|
# that read_nonblock should not raise an IO::WaitReadable exception, but
|
||||||
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
# return the symbol :wait_readable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
@ -127,7 +127,7 @@ class IO
|
|||||||
# according to the kind of the IO object.
|
# according to the kind of the IO object.
|
||||||
# In such cases, write_nonblock raises <code>Errno::EBADF</code>.
|
# 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
|
# that write_nonblock should not raise an IO::WaitWritable exception, but
|
||||||
# return the symbol :wait_writable instead. At EOF, it will return nil instead
|
# return the symbol :wait_writable instead. At EOF, it will return nil instead
|
||||||
# of raising EOFError.
|
# of raising EOFError.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user