Module: FFaker::GenderPL

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

Overview

Author Walerian Sobczak <[email protected]> github.com/walerian777 Inspirations: pl.wikipedia.org/wiki/P%C5%82e%C4%87

Constant Summary collapse

GENDERS =
%w[kobieta mężczyzna].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


14
15
16
# File 'lib/ffaker/gender_pl.rb', line 14

def random
  fetch_sample(GENDERS)
end