Class: Faker::Job
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.field ⇒ String
Produces a random job field.
-
.key_skill ⇒ String
Produces a random job skill.
-
.position ⇒ String
Produces a random job position.
-
.title ⇒ String
Produces a random job title.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.field ⇒ String
Produces a random job field.
43 44 45 |
# File 'lib/faker/default/job.rb', line 43 def field fetch('job.field') end |
.key_skill ⇒ String
Produces a random job skill.
56 57 58 |
# File 'lib/faker/default/job.rb', line 56 def key_skill fetch('job.key_skills') end |
.position ⇒ String
Produces a random job position.
30 31 32 |
# File 'lib/faker/default/job.rb', line 30 def position fetch('job.position') end |
.title ⇒ String
Produces a random job title.
17 18 19 |
# File 'lib/faker/default/job.rb', line 17 def title parse('job.title') end |