mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[DOC] mark up literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
95a476c859
commit
d0cf19d9ed
4 changed files with 32 additions and 30 deletions
|
@ -166,8 +166,8 @@ module OpenSSL::Buffering
|
|||
#
|
||||
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||
# 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 nil instead of raising EOFError.
|
||||
# return the symbol +:wait_writable+ or +:wait_readable+ instead. At EOF,
|
||||
# it will return +nil+ instead of raising EOFError.
|
||||
|
||||
def read_nonblock(maxlen, buf=nil, exception: true)
|
||||
if maxlen == 0
|
||||
|
@ -379,8 +379,8 @@ module OpenSSL::Buffering
|
|||
#
|
||||
# By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||
# 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 nil instead of raising EOFError.
|
||||
# return the symbol +:wait_writable+ or +:wait_readable+ instead. At EOF,
|
||||
# it will return +nil+ instead of raising EOFError.
|
||||
|
||||
def write_nonblock(s, exception: true)
|
||||
flush
|
||||
|
|
|
@ -1600,8 +1600,9 @@ ossl_ssl_connect(VALUE self)
|
|||
*
|
||||
* By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||
* that connect_nonblock should not raise an IO::WaitReadable or
|
||||
* IO::WaitWritable exception, but return the symbol :wait_readable or
|
||||
* :wait_writable instead. At EOF, it will return nil instead of raising EOFError.
|
||||
* IO::WaitWritable exception, but return the symbol +:wait_readable+ or
|
||||
* +:wait_writable+ instead. At EOF, it will return +nil+ instead of raising
|
||||
* EOFError.
|
||||
*/
|
||||
static VALUE
|
||||
ossl_ssl_connect_nonblock(int argc, VALUE *argv, VALUE self)
|
||||
|
@ -1648,8 +1649,9 @@ ossl_ssl_accept(VALUE self)
|
|||
*
|
||||
* By specifying a keyword argument _exception_ to +false+, you can indicate
|
||||
* that accept_nonblock should not raise an IO::WaitReadable or
|
||||
* IO::WaitWritable exception, but return the symbol :wait_readable or
|
||||
* :wait_writable instead. At EOF, it will return nil instead of raising EOFError.
|
||||
* IO::WaitWritable exception, but return the symbol +:wait_readable+ or
|
||||
* +:wait_writable+ instead. At EOF, it will return +nil+ instead of raising
|
||||
* EOFError.
|
||||
*/
|
||||
static VALUE
|
||||
ossl_ssl_accept_nonblock(int argc, VALUE *argv, VALUE self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue