Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Ruby gives us shortcuts to write common pieces of code. The process of accessing and writing attributes in a class can be done using `attr_writer` and `attr_accessor` to ease repeating code.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
MICHAEL P
5,191 PointsError: name.rb:4:in 'initialize' : wrong number of arguments (given 1, expected 4) (ArgumentError) Please help!
Posted by MICHAEL PMICHAEL P
5,191 Points3 Answers
-
MICHAEL P
5,191 PointsEven though I followed the video, and did EVERYTHING that Jason did in the video, my code does not work! Please help!
Posted by MICHAEL PMICHAEL P
5,191 Points2 Answers
-
Nick Vitsinsky
7,246 Points3 Answers
-
Alphonse Cuccurullo
2,513 Points3 Answers
-
Sean Flanagan
33,236 Points2 Answers
-
Brent Forwood
18,999 Points1 Answer
-
PLUS
Yan Kozlovskiy
Courses Plus Student 13,773 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up