class IO

def readable?

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