Skip to content

Instantly share code, notes, and snippets.

@reneedv
Created May 31, 2012 19:54
Show Gist options
  • Save reneedv/2845816 to your computer and use it in GitHub Desktop.
Save reneedv/2845816 to your computer and use it in GitHub Desktop.
RSR Exercise 1
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