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