ahmed025566 / Catalog_of_my_things

MIT License
0 stars 0 forks source link

[1pt] Create MusicAlbum class in a separate .rb file. #11

Open ahmed025566 opened 1 year ago

ahmed025566 commented 1 year ago

All MusicAlbum class properties visible in the diagram should be defined and set up in the constructor method. Implement method: can_be_archived?() in the MusicAlbum class should override the method from the parent class should return true if parent's method returns true AND if on_spotify equals true otherwise, it should return false Add unit tests for all implemented methods.