How Do You Clear The IRB Console?
How do you clear the IRB console screen? On Mac OS X or Linux you can use Ctrl + L to clear the IRB screen. Throw this inside %userprofile%\.irbrc and you're good def cls system('cls') end From IRB clear screen on windows . On *nix boxes `clear` on Windows system 'cls' # works `cls` # does not work on OSX system 'clear' # works `clear` # does not work TW Scannell On Ubuntu 11.10 system clear will mostly clear the irb window. You get a return => True value printed. A big mess of ugly text ruby-1.9.2-p290 :007 > system 'clear' what ya get: => true ruby-1.9.2-p290 :007 > user1323136 Command + K