module Faker::Skill
Public Instance Methods
specialties(num = 3)
click to toggle source
# File lib/ffakerer/skill.rb, line 20 def specialties(num = 3) (1..num).map { specialty } end
specialty()
click to toggle source
# File lib/ffakerer/skill.rb, line 16 def specialty "%s %s" % [SPECIALTY_START.rand, SPECIALTY_END.rand] end
tech_skill()
click to toggle source
# File lib/ffakerer/skill.rb, line 8 def tech_skill TECH_SKILLS.rand end
tech_skills(num = 3)
click to toggle source
# File lib/ffakerer/skill.rb, line 12 def tech_skills(num = 3) TECH_SKILLS.random_pick(num) end