Fahim-Khan-P / Ruby-Capston

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.
MIT License
0 stars 0 forks source link

Create item files and it's properties! #20

Closed Fahim-Khan-P closed 1 year ago

Fahim-Khan-P commented 1 year ago

**Hi Dear!

We implemented the following requirements.**

Create an Item class in a separate .rb file. All Item class properties visible in the diagram should be defined and set up in the constructor method. Exception: properties for the 1-to-many relationships should NOT be set in the constructor method. Instead, they should have a custom setter method created. Add all methods visible in the diagram.