Public Instance Methods| docs.ruby-lang.org
An instance of class IO (commonly called a stream) represents an input/output stream in the underlying operating system. Class IO is the basis for input and output in Ruby.| docs.ruby-lang.org