aboutsummaryrefslogtreecommitdiffstats
path: root/prelude.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 /prelude.rb
parent95a476c859947360850e8fcb2f40a25113306b37 (diff)
downloadruby-d0cf19d9ed3a84e20fc20f70e84d95218944d8e4.tar.gz
[DOC] mark up literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'prelude.rb')
-rw-r--r--prelude.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/prelude.rb b/prelude.rb
index 2e6d9a0631..c9764ec839 100644
--- a/prelude.rb
+++ b/prelude.rb
@@ -70,8 +70,8 @@ class IO
#
# 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.
+ # return the symbol +:wait_readable+ instead. At EOF, it will return nil
+ # instead of raising EOFError.
def read_nonblock(len, buf = nil, exception: true)
__read_nonblock(len, buf, exception)
end
@@ -129,8 +129,8 @@ class IO
#
# 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.
+ # return the symbol +:wait_writable+ instead. At EOF, it will return nil
+ # instead of raising EOFError.
def write_nonblock(buf, exception: true)
__write_nonblock(buf, exception)
end