Skip to content

Project about planes landing and taking off from aiports using OOP and BDD

Notifications You must be signed in to change notification settings

apostoiis/airport-planes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Airport

Makers Academy Week 3 - Test

This test was set by Enrique Comba Riepenhausen @ecomba and Alex Peattie @alexpeattie whilst learning to code at Makers Academy. The aim was to build an object oriented model of airports and planes in Ruby.

Class Weather

Responsibilities Collaborators
can be sunny or stormy Airport
can switch state at random

Class Plane

Responsibilities Collaborators
can land at an Airport, if clear to land Airport
can take off from an Airport, if clear to take off

Class Airport

Responsibilities Collaborators
has a maximum capacity of Planes Plane
has a collection of Planes Weather
has its own Weather
can be clear for take offs and landings

Airports

How to use

clone [email protected]:apostoiis/airport-planes.git
cd airport-planes
rspec

About

Project about planes landing and taking off from aiports using OOP and BDD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages