Class: Faker::Construction
- Defined in:
- lib/faker/default/construction.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.heavy_equipment ⇒ String
Produces a random heavy equipment.
-
.material ⇒ String
Produces a random material.
-
.role ⇒ String
Produces a random role.
-
.standard_cost_code ⇒ String
Produces a random standard cost code.
-
.subcontract_category ⇒ String
Produces a random subcontract category.
-
.trade ⇒ String
Produces a random trade.
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
.heavy_equipment ⇒ String
Produces a random heavy equipment.
27 28 29 |
# File 'lib/faker/default/construction.rb', line 27 def self.heavy_equipment fetch('construction.heavy_equipment') end |
.material ⇒ String
Produces a random material.
14 15 16 |
# File 'lib/faker/default/construction.rb', line 14 def self.material fetch('construction.materials') end |
.role ⇒ String
Produces a random role.
79 80 81 |
# File 'lib/faker/default/construction.rb', line 79 def self.role fetch('construction.roles') end |
.standard_cost_code ⇒ String
Produces a random standard cost code.
66 67 68 |
# File 'lib/faker/default/construction.rb', line 66 def self.standard_cost_code fetch('construction.standard_cost_codes') end |
.subcontract_category ⇒ String
Produces a random subcontract category.
53 54 55 |
# File 'lib/faker/default/construction.rb', line 53 def self.subcontract_category fetch('construction.subcontract_categories') end |
.trade ⇒ String
Produces a random trade.
40 41 42 |
# File 'lib/faker/default/construction.rb', line 40 def self.trade fetch('construction.trades') end |