In this project, we will create a console app that will help to keep a record of different types of things you own: books, music albums, movies, and games. Everything will be based on the given UML class diagram and the data will be stored in JSON files as well.
Create a Book class in a separate .rb file.
Create a Label class with an association to the Item class (in a separate .rb file).
All Book class properties visible in the diagram should be defined and set up in the constructor method.
All Label class properties visible in the diagram should be defined and set up in the constructor method.
Implement methods:
[ ] add_item method in the Label class