issues
search
axcell-0
/
Ruby-Capstone
MIT License
1
stars
0
forks
source link
[2pt] Create MusicAlbum class - Team Member #2
#12
Open
hamidazim321
opened
10 months ago
hamidazim321
commented
10 months ago
Create MusicAlbum class in a separate .rb file.
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
The following options should be available:
List all music albums
Add a music album
All data should be preserved by saving collections in .json files.