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 trialkabir k
Courses Plus Student 18,036 PointsPreceding the methods' names with # in the Teacher's Notes
In the Teacher's Notes, I noticed they preceded the methods' names with #.
Is that commenting or something else?
1 Answer
Daniel Cunningham
21,109 PointsHello Kabir, if you look into the hash documentation associated with the teacher's notes, you'll see that the # is actually in front of all of the methods along the left hand column. It's pretty common with Class methods within the Ruby documentation. Similarly, for Modules, you'll see '::' in front of the associated Classes within a Module. Knowing that could be very helpful when reading the documentation in order to help you with identifying the correct syntax for your projects. Hopefully that helps! Great question!
kabir k
Courses Plus Student 18,036 Pointskabir k
Courses Plus Student 18,036 PointsThanks, Daniel. Much appreciated.