Sha256: 572be657bb68c7111ca9ab3d9c7c6f31109d2727045c5f629a9b959b7357e9ee
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
# frozen_string_literal: true module FFaker 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 "#{fetch_sample(SPECIALTY_START)} #{fetch_sample(SPECIALTY_END)}" end def specialties(num = 3) (1..num).map { specialty } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.23.0 | lib/ffaker/skill.rb |