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 --- prelude.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prelude.rb') diff --git a/prelude.rb b/prelude.rb index 5ebf1166ea..2e6d9a0631 100644 --- a/prelude.rb +++ b/prelude.rb @@ -68,7 +68,7 @@ class IO # Note that this method is identical to readpartial # 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 # return the symbol :wait_readable instead. At EOF, it will return nil instead # of raising EOFError. @@ -127,7 +127,7 @@ class IO # according to the kind of the IO object. # In such cases, write_nonblock raises Errno::EBADF. # - # 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 # return the symbol :wait_writable instead. At EOF, it will return nil instead # of raising EOFError. -- cgit v1.2.3