问题
I want to be able to clear the console before printing an updated table in a loop but I cant seem to find out how.
Is this possible or not?
回答1:
system 'clear'
will clear the console
来源:https://stackoverflow.com/questions/27517583/rubymine-any-way-to-clear-the-inbuilt-console