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

[2.25pt]Create an Author class with an association to the Item class (in a separate .rb file).-student C #17

Open
OLIPLICHE opened this issue Nov 29, 2021 · 0 comments
Assignees

Comments

@OLIPLICHE
Copy link
Collaborator

OLIPLICHE commented Nov 29, 2021

  • All Author class properties visible in the diagram should be defined and set up in the constructor method.
  • Implement method add_item method in the Author class:
  1. should take an instance of the Item class as an input
  2. should add the input item to the collection of items
  3. should add self as a property of the item object (by using the correct setter from the item object)
@OLIPLICHE OLIPLICHE self-assigned this Nov 29, 2021
@OLIPLICHE OLIPLICHE changed the title [2.25pt]Create an Author class with an association to the Item class (in a separate .rb file). [2.25pt]Create an Author class with an association to the Item class (in a separate .rb file).-student C Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant