Data stream

Hi everyone

How can I pput and stream of data in ruby

Thanks!!!