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

Refactor Faker::Educator and add docs #1772

Merged
merged 6 commits into from Dec 5, 2019

Conversation

connorshea
Copy link
Member

This refactors Faker::Educator to use the parse method instead of generating the returned strings in the Ruby code. The behavior of the Educator class methods shouldn't have changed.

It also reformats the YML file to use one line per entry, and adds YARD docs.

Reorganize the to do the dynamic generation of strings in the YML itself.

Also reformat the YML to use one line per entry.
@connorshea connorshea mentioned this pull request Sep 29, 2019
@connorshea
Copy link
Member Author

@vbrazo can I get a review of this PR as well? :)

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vbrazo vbrazo merged commit f1aa3ca into faker-ruby:master Dec 5, 2019
@connorshea connorshea deleted the refactor-educator branch December 6, 2019 03:40
michebble pushed a commit to michebble/faker that referenced this pull request Feb 16, 2020
* Refactor Faker::Educator.

Reorganize the to do the dynamic generation of strings in the YML itself.

Also reformat the YML to use one line per entry.

* Add YARD docs for Faker::Educator.

* Sorting things like a monkey

* More sorting

* Update educator.yml

* Update educator.yml
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* Refactor Faker::Educator.

Reorganize the to do the dynamic generation of strings in the YML itself.

Also reformat the YML to use one line per entry.

* Add YARD docs for Faker::Educator.

* Sorting things like a monkey

* More sorting

* Update educator.yml

* Update educator.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants