ahmed025566 / Catalog_of_my_things

MIT License
0 stars 0 forks source link

[1pt] Create Genre class with an association to the Item class (in a separate .rb file). #12

Open ahmed025566 opened 1 year ago

ahmed025566 commented 1 year ago

All Genre class properties visible in the diagram should be defined and set up in the constructor method. Implement method: add_item method in the Genre class should take an instance of the Item class as an input should add the input item to the collection of items should add self as a property of the item object (by using the correct setter from the item object) Add unit tests for all implemented methods.