Sha256: f7b6edd9501768605e39c8442e8b60c5af577918791e4ce800e8d24e5c174090

Contents?: true

Size: 403 Bytes

Versions: 12

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
ffaker-2.23.0 lib/ffaker/job_fr.rb
ffaker-2.22.0 lib/ffaker/job_fr.rb
ffaker-2.21.0 lib/ffaker/job_fr.rb
ffaker-2.20.0 lib/ffaker/job_fr.rb
ffaker-2.19.0 lib/ffaker/job_fr.rb
ffaker-2.18.0 lib/ffaker/job_fr.rb
ffaker-2.17.0 lib/ffaker/job_fr.rb
ffaker-2.16.0 lib/ffaker/job_fr.rb
ffaker-2.15.0 lib/ffaker/job_fr.rb
ffaker-2.14.0 lib/ffaker/job_fr.rb
ffaker-2.13.0 lib/ffaker/job_fr.rb
ffaker-2.12.0 lib/ffaker/job_fr.rb