Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2pt] Create MusicAlbum class in a separate .rb file. #18

Closed
omarsalem7 opened this issue Apr 23, 2022 · 0 comments · Fixed by #30
Closed

[2pt] Create MusicAlbum class in a separate .rb file. #18

omarsalem7 opened this issue Apr 23, 2022 · 0 comments · Fixed by #30

Comments

@omarsalem7
Copy link
Owner

  • All MusicAlbum class properties visible in the diagram should be defined and set up in the constructor method.
  • Implement methods:
    • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants