Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Sebastian Eguez8,248 Points
How do I clear my page on a Mac?
treehouse:~/workspace$ irb irb(main):001:0> a = 1 => 1 irb(main):002:0> b = 2 => 2 irb(main):003:0> clear NameError: undefined local variable or method `clear' for main:Object Did you mean? caller from (irb):3 from /usr/local/bin/irb:11:in `<main>'
How do I clear this on a Mac?
I'm guessing I can't because a = 1 and there's an "a" un clear.
Jason AndersTreehouse Moderator 145,855 Points
While in the
irb CTRL-L should clear the screen for you.