collinsmezie / Ruby_capstone_catalog

0 stars 0 forks source link

[1pt]Create Movie class - team member#4 #27

Open collinsmezie opened 2 years ago

collinsmezie commented 2 years ago

Create Movie class in a separate .rb file. All Movie class properties visible in the diagram should be defined and set up in the constructor method. Implement methods:

can_be_archived?() in the Movie class should override the method from the parent class should return true if parent's method returns true OR if silent equals true otherwise, it should return false

Add unit tests for all implemented methods.

The following options should be available: List all movies Add a movie

All data should be preserved by saving collections in .json files.