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-3.5.1 lib/faker/default/appliance.rb
faker-3.4.2 lib/faker/default/appliance.rb
faker-3.4.1 lib/faker/default/appliance.rb
faker-3.3.1 lib/faker/default/appliance.rb
faker-3.3.0 lib/faker/default/appliance.rb
faker-3.2.3 lib/faker/default/appliance.rb
faker-3.2.2 lib/faker/default/appliance.rb
faker-3.2.1 lib/faker/default/appliance.rb
faker-3.2.0 lib/faker/default/appliance.rb
faker-3.1.1 lib/faker/default/appliance.rb
faker-3.1.0 lib/faker/default/appliance.rb
faker-3.0.0 lib/faker/default/appliance.rb
faker-2.23.0 lib/faker/default/appliance.rb
faker-2.22.0 lib/faker/default/appliance.rb
faker-2.21.0 lib/faker/default/appliance.rb
faker-2.20.0 lib/faker/default/appliance.rb
faker-2.19.0 lib/faker/default/appliance.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/default/appliance.rb
faker-2.18.0 lib/faker/default/appliance.rb
faker-2.17.0 lib/faker/default/appliance.rb