Sha256: 7789de728c984221ce1755318a2235f3d05f3e973e89e61dbbc000d6e1d2eac2

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# encoding: UTF-8

module FFaker
  module JobFR
    extend ModuleUtils
    extend self

    JOB_ADJECTIVES = %w(general adjoint associƩ)

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffaker-2.2.0 lib/ffaker/job_fr.rb
ffaker-2.1.0 lib/ffaker/job_fr.rb