Class: Faker::Construction

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

Constant Summary

Constants inherited from Base

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

Class Method Summary collapse

Methods inherited from Base

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

Class Method Details

.heavy_equipmentObject


9
10
11
# File 'lib/faker/default/construction.rb', line 9

def self.heavy_equipment
  fetch('construction.heavy_equipment')
end

.materialObject


5
6
7
# File 'lib/faker/default/construction.rb', line 5

def self.material
  fetch('construction.materials')
end

.roleObject


25
26
27
# File 'lib/faker/default/construction.rb', line 25

def self.role
  fetch('construction.roles')
end

.standard_cost_codeObject


21
22
23
# File 'lib/faker/default/construction.rb', line 21

def self.standard_cost_code
  fetch('construction.standard_cost_codes')
end

.subcontract_categoryObject


17
18
19
# File 'lib/faker/default/construction.rb', line 17

def self.subcontract_category
  fetch('construction.subcontract_categories')
end

.tradeObject


13
14
15
# File 'lib/faker/default/construction.rb', line 13

def self.trade
  fetch('construction.trades')
end