Module: FFaker::GenderCN
Constant Summary collapse
- GENDERS =
%w[男 女].freeze
Instance Method Summary collapse
- #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
#random ⇒ Object Also known as: maybe, sample
10 11 12 |
# File 'lib/ffaker/gender_cn.rb', line 10 def random fetch_sample(GENDERS) end |