summaryrefslogtreecommitdiff
path: root/ext/openssl/lib/openssl/buffering.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-23 02:11:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-23 02:11:16 +0000
commitd0cf19d9ed3a84e20fc20f70e84d95218944d8e4 (patch)
tree208cce2616624c8eddf35d64e3462bf6ec652d0c /ext/openssl/lib/openssl/buffering.rb
parent95a476c859947360850e8fcb2f40a25113306b37 (diff)
[DOC] mark up literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/lib/openssl/buffering.rb')
-rw-r--r--ext/openssl/lib/openssl/buffering.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb
index 3d57794538..9bd83f1732 100644
--- a/ext/openssl/lib/openssl/buffering.rb
+++ b/ext/openssl/lib/openssl/buffering.rb
@@ -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