Class: Faker::TheThickOfIt

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/the_thick_of_it.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, sample, shuffle, translate, unique, with_locale

Class Method Details

.characterObject


4
5
6
# File 'lib/faker/the_thick_of_it.rb', line 4

def character
  fetch('the_thick_of_it.characters')
end

.departmentObject


8
9
10
# File 'lib/faker/the_thick_of_it.rb', line 8

def department
  fetch('the_thick_of_it.departments')
end

.positionObject


12
13
14
# File 'lib/faker/the_thick_of_it.rb', line 12

def position
  fetch('the_thick_of_it.positions')
end