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

OOP school library: decorate a class #2

Merged
merged 7 commits into from
Dec 21, 2021
Merged

OOP school library: decorate a class #2

merged 7 commits into from
Dec 21, 2021

Conversation

Mhdez221993
Copy link
Owner

Project requirements

  • Create a class Corrector with a method correct_name
  • Set an instance of Corrector in Person on initialization
  • In Person add a method validate_name that uses the Corrector instance to validate and save the corrected name

Thank you for taking the time to review my project 👍

Copy link

@Mihndim2020 Mihndim2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Mhdez221993,

Good job so far!

To Highlight! 👏 🟢

✔️ Good commit messages
✔️ Descriptive Readme file

There are some issues that you still need to work on to get this project approved, but you are almost there!
ALMOST-MINION

Status: Requires Changes ♻️

Check the comments under the review.

Optional suggestions

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

person.rb Outdated
end

def validate_name
@corrector.correct_name(@name)
Copy link

@Mihndim2020 Mihndim2020 Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • This method should use the corrector instance to validate and save the corrected name like, @name = @corrector.correct_name(@name). Please kindly fix that.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link

@bimbolabuari bimbolabuari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Project Approved 🚀

Hi @Mhdez221993 🥇,

Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@Mhdez221993 Mhdez221993 merged commit 8c0239b into dev Dec 21, 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

Successfully merging this pull request may close these issues.

3 participants