1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# 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
|