Ruby provides classes dedicated to handling input and output (IO). Chief among these is a class called, unsurprisingly, IO. The IO class lets you open and close IO streams (sequences of bytes) and read and write data to and from them.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.