Returns an array of all given IOs that are * ready to read if they appeared in read_ios * ready to write if they appeared in write_ios * have an error condition if they appeared in error_ios
Writes the given object into this IO.
Same as #<<
Writes the given string to this IO followed by a newline character unless the string already ends with one.
Writes the given object to this IO followed by a newline character.
Reads count bytes from this IO into slice.
Writes count bytes from slice into this IO.
Returns an array of all given IOs that are
If the optional timeout_sec is given, nil is returned if no IO was ready after the specified amount of seconds passed. Fractions are supported.
If timeout_sec is nil, this method blocks until an IO is ready.
Writes the given object into this IO.
This ends up calling to_s(io) on the object.
Same as #<<
Writes the given string to this IO followed by a newline character unless the string already ends with one.
Writes the given object to this IO followed by a newline character.
Reads count bytes from this IO into slice. Returns the number of bytes read.
Writes count bytes from slice into this IO. Returns the number of bytes written.