What S Wrong With This Ruby Program Stack Overflow

What S Wrong With This Ruby Program Stack Overflow