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.
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.