Sha256: 51fb82063c4e0f3fa067e90a0ef2442d9eeebbb459a4afb81ad04db3e47a6ad6

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

# encoding: UTF-8

module FFaker
  module JobFR
    extend ModuleUtils
    extend self

    JOB_ADJECTIVES = %w[general adjoint associƩ].freeze

    def title
      if rand(0..1).zero?
        "#{fetch_sample(JOB_PREFIXES)} #{fetch_sample(JOB_ADJECTIVES)} #{fetch_sample(JOB_NOUNS)}"
      else
        "#{fetch_sample(JOB_PREFIXES)} #{fetch_sample(JOB_NOUNS)}"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffaker-2.11.0 lib/ffaker/job_fr.rb
ffaker-2.10.0 lib/ffaker/job_fr.rb
ffaker-2.9.0 lib/ffaker/job_fr.rb
ffaker-2.8.1 lib/ffaker/job_fr.rb
ffaker-2.8.0 lib/ffaker/job_fr.rb
ffaker-2.7.0 lib/ffaker/job_fr.rb