IO
class IO
Expect library adds the IO instance method expect, which does similar act to tcl's expect extension.
In order to use this method, you must require expect:
require 'expect'
Please see expect for usage.
The IO class is the basis for all input and output in Ruby- An I-O stream may be duplexed (that is, bidirectional), and so may use more than one native