Sha256: 0e77a4f65b2d5ba6a1eff4761e74b0f2b1f11c364e7f4d215a68e71c127592fe
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# encoding: utf-8 module FFaker module Skill extend ModuleUtils extend self def tech_skill TECH_SKILLS.sample end def tech_skills(num = 3) TECH_SKILLS.sample(num) end def specialty "%s %s" % [SPECIALTY_START.sample, SPECIALTY_END.sample] end def specialties(num = 3) (1..num).map { specialty } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | lib/ffaker/skill.rb |
ffaker-2.1.0 | lib/ffaker/skill.rb |