about summary refs log tree commit homepage
path: root/lib/rainbows/fiber/io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/fiber/io.rb')
-rw-r--r--lib/rainbows/fiber/io.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/fiber/io.rb b/lib/rainbows/fiber/io.rb
index b8c91c5..3028eab 100644
--- a/lib/rainbows/fiber/io.rb
+++ b/lib/rainbows/fiber/io.rb
@@ -52,7 +52,7 @@ class Rainbows::Fiber::IO
           return
         when String
           buf = rv
-        when Kgio::WaitWritable
+        when :wait_writable
           wait_writable
         end
       end while true
@@ -93,7 +93,7 @@ class Rainbows::Fiber::IO
         case rv
         when nil
           raise EOFError, "end of file reached", []
-        when Kgio::WaitReadable
+        when :wait_readable
           wait_readable
         else
           return rv