Module: FFaker::JobFR

Extended by:
JobFR, ModuleUtils
Included in:
JobFR
Defined in:
lib/ffaker/job_fr.rb

Constant Summary collapse

JOB_ADJECTIVES =
%w(general adjoint associƩ)

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Instance Method Details

#titleObject


10
11
12
13
14
15
16
# File 'lib/ffaker/job_fr.rb', line 10

def title
  if rand(2).zero?
    "#{JOB_PREFIXES.sample} #{JOB_ADJECTIVES.sample} #{JOB_NOUNS.sample}"
  else
    "#{JOB_PREFIXES.sample} #{JOB_NOUNS.sample}"
  end
end