Created
May 31, 2012 19:54
-
-
Save reneedv/2845816 to your computer and use it in GitHub Desktop.
RSR Exercise 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exercise | |
- Make a Table object class | |
- Define at least 5 properties of a Table (legs, material, items_on_it, etc…) | |
- Define an initialize method that sets one or more of the attributes when you call Table.new | |
- Define a pretty_print method that prints out some useful information about your table | |
- Email us a link to your code in a Gist | |
Extra Credit: | |
- Make tests for your Table class | |
- Try the Exercises in the Gist for the Book class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment