How do I make this repeat itself?

So, I'm trying to make a simple calculator (I'm new, and I got help from
another forum), but I can't seem to find anything about how I'm supposed
to make the program repeat if you say yes at the end.

http://pastebin.com/FKTVGZ8c

···

--
Posted via http://www.ruby-forum.com/.

Wrap the whole thing in a while loop (in this case, the while condition
is at the end, similar to do...while in other languages):

Hopefully that helps,
Ryan Victory

···

On 1/18/13 6:56 PM, Ryan M. wrote:

So, I'm trying to make a simple calculator (I'm new, and I got help from
another forum), but I can't seem to find anything about how I'm supposed
to make the program repeat if you say yes at the end.

Calculator - Pastebin.com

Ryan Victory wrote in post #1092842:

Wrap the whole thing in a while loop (in this case, the while condition
is at the end, similar to do...while in other languages):
Calculator App Example · GitHub

Hopefully that helps,
Ryan Victory

Thanks.

···

--
Posted via http://www.ruby-forum.com/\.