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

Add Faker::Gender.short_binary_type #1863

Merged
merged 1 commit into from
Dec 16, 2019
Merged

Add Faker::Gender.short_binary_type #1863

merged 1 commit into from
Dec 16, 2019

Conversation

bruno-b-martins
Copy link
Contributor

No-Story

Description:

Today I had the need to have f or m for a gender parameter.
We use this f or m in a lot of different scenarios but mostly to:

  • append to a file_path to use the proper default avatar according to gender
  • append to a string to fetch the correct translation from I18n.t

Please let me know if there's something missing in this PR or if you need more use cases.

Cheers,
Bruno

@vbrazo vbrazo merged commit 3670643 into faker-ruby:master Dec 16, 2019
michebble pushed a commit to michebble/faker that referenced this pull request Feb 16, 2020
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
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.

2 participants