Class: Faker::Job

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/job.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.fieldObject



14
15
16
# File 'lib/faker/job.rb', line 14

def field
  fetch('job.field')
end

.key_skillObject



18
19
20
# File 'lib/faker/job.rb', line 18

def key_skill
  fetch('job.key_skills')
end

.positionObject



10
11
12
# File 'lib/faker/job.rb', line 10

def position
  fetch('job.position')
end

.titleObject



6
7
8
# File 'lib/faker/job.rb', line 6

def title
  parse('job.title')
end