How does ruby

hi, i’m a noob to ruby and i have read a few things about it.

id like to know how to make a program that sums two numbers by
inserting them and then ruby displays them.

if anyone can help, would be really apprecciated.

thanks.