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 trialK .
2,357 PointsQuestion about full_name method
Hey, so I'm having a hard time fully understanding why in the full_name method we have the "@" in front of middle_name.nil? I tried both with and without the "@" and my code still works the same. Could someone better explain why we use this?
Thanks in advance.
1 Answer
KRIS NIKOLAISEN
54,972 PointsHere is an answer from Stack Overflow
Enrica Fedeli-Jaques
6,773 PointsEnrica Fedeli-Jaques
6,773 PointsKRIS NIKOLAISEN thank you for the link, but I was wondering too, and couldn't find an answer in the link, why does Jason only use it in the if statement?