Module: FFaker::Gender
Constant Summary collapse
- GENDERS =
%w[male female non-binary agender androgyne bi-gender pan-gender].freeze
- BINARY_GENDERS =
%w[male female].freeze
Instance Method Summary collapse
- #binary ⇒ Object
- #random ⇒ Object (also: #maybe, #sample)
Methods included from ModuleUtils
const_missing, k, luhn_check, underscore, unique
Methods included from RandomUtils
#fetch_sample, #rand, #shuffle
Instance Method Details
#binary ⇒ Object
15 16 17 |
# File 'lib/ffaker/gender.rb', line 15 def binary fetch_sample(BINARY_GENDERS) end |
#random ⇒ Object Also known as: maybe, sample
11 12 13 |
# File 'lib/ffaker/gender.rb', line 11 def random fetch_sample(GENDERS) end |