added streams to the ruby gen