Sha256: 7dfe60102279c59dbf6e44b06ca604012c2b45ae78b907b24bdcc9a4b300092b

Contents?: true

Size: 652 Bytes

Versions: 37

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

module Faker
  class Appliance < Base
    class << self
      ##
      # Produces the name of an appliance brand.
      #
      # @return [String]
      #
      # @example
      #   Faker::Appliance.brand #=> "Bosch"
      #
      # @faker.version 1.9.0
      def brand
        fetch('appliance.brand')
      end

      ##
      # Produces the name of a type of appliance equipment.
      #
      # @return [String]
      #
      # @example
      #   Faker::Appliance.equipment #=> "Appliance plug"
      #
      # @faker.version 1.9.0
      def equipment
        fetch('appliance.equipment')
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
faker-2.16.0 lib/faker/default/appliance.rb
faker-2.15.1 lib/faker/default/appliance.rb
faker-2.15.0 lib/faker/default/appliance.rb
faker-2.14.0 lib/faker/default/appliance.rb
faker-2.13.0 lib/faker/default/appliance.rb
faker-2.12.0 lib/faker/default/appliance.rb
faker-2.11.0 lib/faker/default/appliance.rb
faker-2.10.2 lib/faker/default/appliance.rb
faker-2.10.1 lib/faker/default/appliance.rb
faker-2.10.0 lib/faker/default/appliance.rb
faker-2.9.0 lib/faker/default/appliance.rb
faker-2.8.1 lib/faker/default/appliance.rb
faker-2.8.0 lib/faker/default/appliance.rb
faker-2.7.0 lib/faker/default/appliance.rb
faker-2.6.0 lib/faker/default/appliance.rb
faker-2.5.0 lib/faker/default/appliance.rb
faker-2.4.0 lib/faker/default/appliance.rb