class Faker::Creature::Horse
Public Class Methods
breed()
click to toggle source
Produces a random horse breed
@return [String]
@example
Faker::Creature::Horse.breed #=> "Spanish Barb see Barb Horse"
@faker.version 1.9.2
# File lib/faker/creature/horse.rb, line 31 def breed fetch('creature.horse.breed') end
name()
click to toggle source
Produces a random name for a horse
@return [String]
@example
Faker::Creature::Horse.name #=> "Noir"
@faker.version 1.9.2
# File lib/faker/creature/horse.rb, line 18 def name fetch('creature.horse.name') end