Technical Stuff for things you now know.
- class definitions
- Hash data-dictionary
- symbols and strings
- Instance Variables
- local variables
- requiring external files
- test suites
- Database connections
- Database Access (ActiveRecord)
- Isolated Testing
- class methods
- Array/Collection/Enumeration methods (map, select)
- Import from CSV (episode 4, free)
- Load a file into a string
- configuration values in YML
- Create a class definition for an automobile
- The class should have the following characteristics:
- Should have a class method that returns the number of wheels it has
- Should have instance variables for color, make, model, and year
- I should be able to pass in a hash of color, make, model, and year to the class to update its variables
- Create a Vehicle class that automobile inherits from
- Create a Motorcycle class that inherits from vehicle
- Show the motorcycle class overriding the vehicle's class method for number of tires
- Implement the
==(other)
method to test if the car's color/make/model/year match
- Create a class variable (@@) in the Vehicle that tracks all vehicles mde
- Create a class method that let's you filter the vehicles to only blue honda accords (using our enuerable filters)
- Do it all using TDD (of course!)
Copyright Jesse Wolgamott 2012, MIT License. See LICENSE