Module: FFaker::GenderID

Extended by:
GenderID, ModuleUtils
Included in:
GenderID
Defined in:
lib/ffaker/gender_id.rb

Constant Summary collapse

GENDERS =
%w[laki-laki perempuan].freeze

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#randomObject Also known as: maybe, sample


10
11
12
# File 'lib/ffaker/gender_id.rb', line 10

def random
  fetch_sample(GENDERS)
end