summaryrefslogtreecommitdiff
path: root/prelude.rb
diff options
context:
space:
mode:
Diffstat (limited to 'prelude.rb')
-rw-r--r--prelude.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/prelude.rb b/prelude.rb
index c9764ec839..7b98e28285 100644
--- a/prelude.rb
+++ b/prelude.rb
@@ -129,8 +129,7 @@ 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.
def write_nonblock(buf, exception: true)
__write_nonblock(buf, exception)
end