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

Group [3pts] Implement methods for the classes #16

Open
ishimwezachee opened this issue Feb 21, 2022 · 0 comments
Open

Group [3pts] Implement methods for the classes #16

ishimwezachee opened this issue Feb 21, 2022 · 0 comments

Comments

@ishimwezachee
Copy link
Collaborator

ishimwezachee commented Feb 21, 2022

  • Implement methods:
    • can_be_archived?() in the Item class
      • should return true if published_date is older than 10 years
      • otherwise, it should return false
    • move_to_archive() in the Item class
      • should reuse can_be_archived?() method
      • should change the archived property to true if the result of the can_be_archived?() method is true
      • should do nothing if the result of the can_be_archived?() method is false
@ishimwezachee ishimwezachee self-assigned this Feb 21, 2022
@ishimwezachee ishimwezachee changed the title @ishimwezachee [3pts] Implement methods - MusicAlbum and Genre class Group [3pts] Implement methods Feb 21, 2022
@ishimwezachee ishimwezachee changed the title Group [3pts] Implement methods Group [3pts] Implement methods for the classes Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants