Return to Snippet

Revision: 3252
at June 27, 2007 10:15 by vanne

Initial Code
# throw this inside %userprofile%\.irbrc and you're good
def cls

Initial URL

Initial Description
Since there is no convenient way to clear the console in irb on windows, we can simple emulate the dos cls function

Initial Title
IRB clear screen on windows

Initial Tags
ruby, windows

Initial Language