Week 3 project @ Makers Academy.
Simple application that uses OOP and TDD principles.
The goal of this project was to introduce us to Object-Oriented Programming (OOP) and show us the very basics of Object-Oriented Design (OOD).
This branch is for london style TDD, where symbols and doubles are being used to test as opposed to real objects.
The latter means that my thought processes do not have to be interupted i.e. I dont have to stop what I am doing and create an object before I can use it.
We creating a simple system for managing Boris Bikes in London. Our system keeps track of a number of docking stations and the bikes. It allows us to rent the bikes and return them. Occasionally the bikes will break and then they will be unavailable for rental. There will also be a garage to fix the bikes and a van to move the bikes between the stations and the garage.
Classes
- Person
- Bike
- Garage
- Station
- Van
- Errors
Module
- BikeContainer (used by Garage, Station and Van classes)
- Ruby
- RSpec
irb
require './lib/boris_bikes'