Skip to content

Instantly share code, notes, and snippets.

@nagachika
Created June 13, 2011 09:07
Show Gist options
  • Save nagachika/1022498 to your computer and use it in GitHub Desktop.
Save nagachika/1022498 to your computer and use it in GitHub Desktop.
wait_readable_writable_exceptions
class Errno::EAGAIN_WAIT_READABLE < Errno::EAGAIN
include IO::WaitReadable
end
class Errno::EAGAIN_WAIT_WRITABLE < Errno::EAGAIN
include IO::WaitWritable
end
class Errno::EWOULDBLOCK_WAIT_READABLE < Errno::EWOULDBLOCK
include IO::WaitReadable
end
class Errno::EWOULDBLOCK_WAIT_WRITABLE < Errno::EWOULDBLOCK
include IO::WaitWritable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment