and it is used for streaming input and output data in Ruby