Module: FFaker::GenderID
Constant Summary collapse
- GENDERS =
%w[laki-laki perempuan].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_id.rb', line 10 def random fetch_sample(GENDERS) end |