Hello! Just wondering how to refresh all you page in ruby


I would like for when i’m compiling my code in ruby I would like it to refresh my cluttered page.
For example instead of looking like this

Some Random Program!

Would you like to start?

Ok! Starting program`

But Clear the title and the would you like to start when it says Ok Sarting Program


Here’s a fix.
Why on earth would you have a “Would you like to start?” prompt
They ran your program, of course they want to start!

Furthermore, They expect your program to start and run, you need not tell them it has done so.


Clear the screen: Ruby

Hope it helps.