Module: FFaker::GenderCN

Extended by:
GenderCN, ModuleUtils
Included in:
GenderCN
Defined in:
lib/ffaker/gender_cn.rb

Constant Summary collapse

GENDERS =
%w[ ].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_cn.rb', line 10

def random
  fetch_sample(GENDERS)
end