Clear ruby terminal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

28th Jan 2020, 6:39 AM
🇮🇱 Mutedly 🇮🇱
🇮🇱 Mutedly 🇮🇱 - avatar
2 Answers
+ 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.
28th Jan 2020, 8:42 AM
Lord Krishna
Lord Krishna - avatar
+ 1
Lord Krishna Understood Thanks!
28th Jan 2020, 11:25 AM
🇮🇱 Mutedly 🇮🇱
🇮🇱 Mutedly 🇮🇱 - avatar