Module: FFaker::GenderRU
Constant Summary collapse
- GENDERS =
%w[мужчина женщина нонбайнари агендер].freeze
- BINARY_GENDERS =
%w[мужчина женщина].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_ru.rb', line 15 def binary fetch_sample(BINARY_GENDERS) end |
#random ⇒ Object Also known as: maybe, sample
11 12 13 |
# File 'lib/ffaker/gender_ru.rb', line 11 def random fetch_sample(GENDERS) end |