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! While you're at it, check out some resources Treehouse students have shared here.
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 trialJared Armes
Courses Plus Student 6,391 PointsThe method "add" isn't printing to the console.
def add puts 2 + 2 end
add
2 Answers
Jared Armes
Courses Plus Student 6,391 PointsI figured it out. It's because I didn't save before running the program; and also because I'm an idiot.
Caleb Kleveter
Treehouse Moderator 37,862 PointsJared Armes , I thought I might let you know I changed your comment to an answer. This allows you to be up-voted, and awarded with best answer! I marked it best, if you ever have any you answer to yourself like you just did, you should mark it also.
Jared Armes
Courses Plus Student 6,391 PointsThank you! I wasn't aware of this functionality.