Sha256: 064d42ccfb0a6f9e182439022fa8a08fbd98f6634debc2d03766cd3d48952fa5
Contents?: true
Size: 1.32 KB
Versions: 37
Compression:
Stored size: 1.32 KB
Contents
# frozen_string_literal: true module Faker class IndustrySegments < Base flexible :industry_segments class << self ## # Produces the name of an industry. # # @return [String] # # @example # Faker::IndustrySegments.industry #=> "Basic Materials" # # @faker.version 1.9.2 def industry fetch('industry_segments.industry') end ## # Produces the name of a super-sector of an industry. # # @return [String] # # @example # Faker::IndustrySegments.super_sector #=> "Basic Resources" # # @faker.version 1.9.2 def super_sector fetch('industry_segments.super_sector') end ## # Produces the name of a sector of an industry. # # @return [String] # # @example # Faker::IndustrySegments.sector #=> "Industrial Metals & Mining" # # @faker.version 1.9.2 def sector fetch('industry_segments.sector') end ## # Produces the name of a subsector of an industry. # # @return [String] # # @example # Faker::IndustrySegments.industry #=> "Basic Materials" # # @faker.version 1.9.2 def sub_sector fetch('industry_segments.sub_sector') end end end end
Version data entries
37 entries across 37 versions & 2 rubygems