Class: Faker::IndustrySegments
- Defined in:
- lib/faker/default/industry_segments.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.industry ⇒ String
Produces the name of an industry.
-
.sector ⇒ String
Produces the name of a sector of an industry.
-
.sub_sector ⇒ String
Produces the name of a subsector of an industry.
-
.super_sector ⇒ String
Produces the name of a super-sector of an industry.
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
.industry ⇒ String
Produces the name of an industry.
17 18 19 |
# File 'lib/faker/default/industry_segments.rb', line 17 def industry fetch('industry_segments.industry') end |
.sector ⇒ String
Produces the name of a sector of an industry.
43 44 45 |
# File 'lib/faker/default/industry_segments.rb', line 43 def sector fetch('industry_segments.sector') end |
.sub_sector ⇒ String
Produces the name of a subsector of an industry.
56 57 58 |
# File 'lib/faker/default/industry_segments.rb', line 56 def sub_sector fetch('industry_segments.sub_sector') end |
.super_sector ⇒ String
Produces the name of a super-sector of an industry.
30 31 32 |
# File 'lib/faker/default/industry_segments.rb', line 30 def super_sector fetch('industry_segments.super_sector') end |