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.| ruby-doc.org
A class which allows both internal and external iteration.| ruby-doc.org