From 95a476c859947360850e8fcb2f40a25113306b37 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 23 Feb 2017 02:00:28 +0000 Subject: [DOC] keyword argument _exception_ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/lib/openssl/buffering.rb | 4 ++-- ext/openssl/ossl_ssl.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/openssl') diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index 30df819..3d57794 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -164,7 +164,7 @@ module OpenSSL::Buffering # when the peer requests a new TLS/SSL handshake. See openssl the FAQ 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 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. @@ -377,7 +377,7 @@ module OpenSSL::Buffering # is when the peer requests a new TLS/SSL handshake. See the openssl FAQ # 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 # return the symbol :wait_writable or :wait_readable instead. At EOF, it will # return nil instead of raising EOFError. diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 41d496f..cc95806 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1598,7 +1598,7 @@ ossl_ssl_connect(VALUE self) * retry * 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 * IO::WaitWritable exception, but return the symbol :wait_readable or * :wait_writable instead. At EOF, it will return nil instead of raising EOFError. @@ -1646,7 +1646,7 @@ ossl_ssl_accept(VALUE self) * retry * 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 * IO::WaitWritable exception, but return the symbol :wait_readable or * :wait_writable instead. At EOF, it will return nil instead of raising EOFError. -- cgit v1.1