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 trialCory DeGarmo
647 Points"Extending" the say_hello method is like taking local method and making it global?
I'm really not sure I quite understand it but thats what I have.
1 Answer
Jason Seifer
Treehouse Guest TeacherHey Cory DeGarmo what we're doing is showing two different ways of augmenting one class or variable with a module. Basically you use include
to augment a class with instance methods and extend
for class methods. Check out this article for a more in depth explanation.