Sha256: 24ea792ee9449cd187ede4e8e63b43efb885c702c7aaba4b3bf0bfef0ef9111b

Contents?: true

Size: 433 Bytes

Versions: 9

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module Skill
    extend ModuleUtils
    extend self

    def tech_skill
      fetch_sample(TECH_SKILLS)
    end

    def tech_skills(num = 3)
      fetch_sample(TECH_SKILLS, count: num)
    end

    def specialty
      format('%s %s', fetch_sample(SPECIALTY_START), fetch_sample(SPECIALTY_END))
    end

    def specialties(num = 3)
      (1..num).map { specialty }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffakerTW-1.8.0 lib/ffakerTW/skill.rb
ffakerTW-1.7.0 lib/ffakerTW/skill.rb
ffakerTW-1.6.0 lib/ffakerTW/skill.rb
ffakerTW-1.5.0 lib/ffakerTW/skill.rb
ffakerTW-1.4.0 lib/ffakerTW/skill.rb
ffakerTW-1.3.0 lib/ffakerTW/skill.rb
ffakerTW-1.2.0 lib/ffakerTW/skill.rb
ffakerTW-1.1.0 lib/ffakerTW/skill.rb
ffakerTW-0.1.0 lib/ffakerTW/skill.rb