-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add Faker::Creature::Animal #1396
Conversation
A set of animal names, sourced from: https://en.wikipedia.org/wiki/List_of_English_animal_nouns Opportunity to add more Animal options (male/female animal names, young, group names, species names...) Tests and Rubocop passing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a similar method in the Faker::Team.creature
object, but your description makes sense. I think an exclusive module for Animal would be sense.
The question is: should we remove the Faker::Team.creature
locale and just call
def self.creature
Faker::Animal.name
end
instead?
We're introducing namespaces to keep the gem more organized. Could you wrap this new module in |
|
* Add Faker::Animal A set of animal names, sourced from: https://en.wikipedia.org/wiki/List_of_English_animal_nouns Opportunity to add more Animal options (male/female animal names, young, group names, species names...) Tests and Rubocop passing. * adds Creature namespace over Animal * updated creature in faker.rb to follow existing pattern * Rubocop fixes * Update animal.md * Update faker.rb * Update CHANGELOG.md
A set of animal names, sourced from: https://en.wikipedia.org/wiki/List_of_English_animal_nouns
Opportunity to add more Animal options (male/female animal names, young,
group names, species names...)
Tests and Rubocop passing.