issues
search
heintayzar-hm
/
catalog-of-things
MIT License
2
stars
1
forks
source link
[2pt] Create a Book class in a separate .rb file Team member 1
#12
Open
heintayzar-hm
opened
1 year ago
heintayzar-hm
commented
1 year ago
All Book class properties visible in the diagram should be defined and set up in the constructor method.
Implement methods:
can_be_archived?() in the Book class
should override the method from the parent class
should return true if parent's method returns true OR if cover_state equals to "bad"
otherwise, it should return false