Module: FFaker::GenderPL

Extended by:
GenderPL, ModuleUtils
Included in:
GenderPL
Defined in:
lib/ffaker/gender_pl.rb

Overview

Constant Summary collapse

GENDERS =
%w[kobieta mężczyzna].freeze

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#randomObject Also known as: maybe, sample



12
13
14
# File 'lib/ffaker/gender_pl.rb', line 12

def random
  fetch_sample(GENDERS)
end