class Faker::House
Public Class Methods
Source
# File lib/faker/default/house.rb, line 15 def furniture fetch('house.furniture') end
Produces the name of a piece of furniture.
@return [String]
@example
Faker::House.furniture #=> "chair"
@faker.version 1.9.2
Source
# File lib/faker/default/house.rb, line 28 def room fetch('house.rooms') end
Produces the name of a room in a house.
@return [String]
@example
Faker::House.room #=> "kitchen"
@faker.version 1.9.2