class IO
def readable?
Check if the IO is readable.
def readable? # Do not call `eof?` here as it is not concurrency-safe and it can block. !closed? end
def readable? # Do not call `eof?` here as it is not concurrency-safe and it can block. !closed? end