Module: Faker::GenderCN
Constant Summary collapse
- GENDERS =
%w(男 女)
Instance Method Summary collapse
- #random ⇒ Object (also: #maybe, #sample)
Methods included from ModuleUtils
Instance Method Details
#random ⇒ Object Also known as: maybe, sample
10 11 12 |
# File 'lib/ffaker/gender_cn.rb', line 10 def random GENDERS.sample end |