When I\'m using the Rails console in Ubuntu for a long session I define the clear method:
clear
def clear; system \'clear\' end
So when m
Put this function to ~/.irbrc
~/.irbrc
def clear system 'clear' end
Then it'll be available when you run irb.