Automate reading/writing into mainframe screens using Ruby

Hi,

Is there any possibility/Gem to write a Ruby script to automate
mainframe screens ? Like reading data and write data into screens

Thanks