Module: FFaker::GenderBR

Extended by:
GenderBR, ModuleUtils
Included in:
GenderBR
Defined in:
lib/ffaker/gender_br.rb

Constant Summary collapse

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

def random
  fetch_sample(GENDERS)
end