about summary refs log tree commit homepage
path: root/lib/rainbows/fiber
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-11-02 11:49:17 -0700
committerEric Wong <normalperson@yhbt.net>2010-11-04 20:36:29 -0700
commit427ef4a2953a4b2d34f7dd89566a0cb5ee6e734d (patch)
tree3686a20e1bac8de2af0727df7fb5a066d4f9f2e8 /lib/rainbows/fiber
parented3a30dcfb5489447dec9c3f73e8bec9dbf7713a (diff)
downloadrainbows-427ef4a2953a4b2d34f7dd89566a0cb5ee6e734d.tar.gz
The underlying symbolic names are easier to type and
recommended.
Diffstat (limited to 'lib/rainbows/fiber')
-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