about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/kgio.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kgio.rb b/lib/kgio.rb
index ae7eac8..2ff366e 100644
--- a/lib/kgio.rb
+++ b/lib/kgio.rb
@@ -6,15 +6,15 @@ module Kgio
   # Rack (and CGI) servers that also serve HTTP traffic over
   # UNIX domain sockets.
   LOCALHOST = '127.0.0.1'
-end
 
-# Kgio::PipeMethods#kgio_tryread and Kgio::SocketMethods#kgio_tryread will
-# return this constant when waiting for a read is required.
-module Kgio::WaitReadable; end
+  # Kgio::PipeMethods#kgio_tryread and Kgio::SocketMethods#kgio_tryread will
+  # return this constant when waiting for a read is required.
+  WaitReadable = :wait_readable
 
-# PipeMethods#kgio_trywrite and SocketMethods#kgio_trywrite will
-# return this constant when waiting for a read is required.
-module Kgio::WaitWritable; end
+  # PipeMethods#kgio_trywrite and SocketMethods#kgio_trywrite will
+  # return this constant when waiting for a read is required.
+  WaitWritable = :wait_writable
+end
 
 require 'kgio_ext'