ga-wdi-boston/wdi_1_ruby_hw_auto_sales — pull request #14 by maxkohl88 (2014-06-13 03:58:56+00:00)
Title: Max Auto Sales HW

Had some ups and downs with this one, but overall I found it to be awesome. I had some trouble at the start as I completely blanked on how to calculate a deprecating value. Once I remembered that, I motored through the Car and UsedCar creations.

As soon as I started on the CarLot class, I knew I needed to find a way to reference the Car class while keeping them independent of each other. This is when I came across Modules, which I think we were going to touch on in class today but ran out of time. Modules and the mixins concept seems incredible, but I hit a roadblock as my Car and UsedCar classes are unable to to reference the constants I moved into the CarModule module. I realize that's an atrocious name for the module, I need to fix that.

I looked around for a while to try and find a fix, but have had no luck as of yet. Going to keep poking at it, but in the meantime I'm definitely getting my head around today's concepts!