class Faker::House

Public Class Methods

furniture() click to toggle source

Produces the name of a piece of furniture.

@return [String]

@example

Faker::House.furniture #=> "chair"

@faker.version 1.9.2

# File lib/faker/default/house.rb, line 15
def furniture
  fetch('house.furniture')
end
room() click to toggle source

Produces the name of a room in a house.

@return [String]

@example

Faker::House.room #=> "kitchen"

@faker.version 1.9.2

# File lib/faker/default/house.rb, line 28
def room
  fetch('house.rooms')
end