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
Joshua Shroy9,943 Points
Address Book in Ruby @contacts variable not working
Unless I'm not understanding the question correctly, the answer is simple, yet not working.
Correct the code below to make the
contacts variable an instance variable.
The failure message:
Bummer! Close! The
@ symbol turns a variable in to an instance variable.
Salman AkramCourses Plus Student 40,065 Points
Your answer should be correct, that's @instance_variable
Dunno why it gave us error message, I will definitely contact out team supports.
Thank you for letting us know.