diff options
Diffstat (limited to 'lib/rainbows/fiber/io.rb')
-rw-r--r-- | lib/rainbows/fiber/io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/fiber/io.rb b/lib/rainbows/fiber/io.rb index 111132f..dcd8c14 100644 --- a/lib/rainbows/fiber/io.rb +++ b/lib/rainbows/fiber/io.rb @@ -37,8 +37,8 @@ class Rainbows::Fiber::IO buf = readpartial(16384) yield buf yield buf while readpartial(16384, buf) - rescue EOFError - self + rescue EOFError + self end def closed? |