-
Print out the code in
/exercise/lib/car.rb
-
Annotate each line with the operations that are happening
- describe the code in english as if to someone who is not familiar with code.
-
list all the
- groupings of things doing similar things
- data that is being stored in memory/changed
-
Using this information try to write a sentence explaining what exactly this class knows about.
-
Out of your list choose one at a time and start to move code out, test-driven.