Clear ruby terminal | Sololearn: Learn to code for FREE!

+1

Clear ruby terminal

I want to clear the ruby terminal with code. Someone said to me that I can do that with puts ’clear’ but it doesn't work But on my kali Linux or working well. It's SoloLearn problem?

1/28/2020 6:39:52 AM

🇮🇱 Atanimo Develop

2 Answers

New Answer

+6

Are you asking if you can clear the terminal on sololearn? Then, I would say no. Codeplayground's ruby interpreter basically displays the result of the computation done on the sololearn web server as text. Even if the clear command *did work* you won't notice the effect over here. Due to lack of interactivity.

+1

Lord Krishna Understood Thanks!