class Faker::Creature::Cat
Public Class Methods
breed()
click to toggle source
Produces a random cat breed
@return [String]
@example
Faker::Creature::Cat.breed #=> "Scottish Fold"
@faker.version 1.9.2
# File lib/faker/creature/cat.rb, line 31 def breed fetch('creature.cat.breed') end
name()
click to toggle source
Produces a random name for a cat
@return [String]
@example
Faker::Creature::Cat.name #=> "Felix"
@faker.version 1.9.2
# File lib/faker/creature/cat.rb, line 18 def name fetch('creature.cat.name') end
registry()
click to toggle source
Produces a random cat breed registry
@return [String]
@example
Faker::Creature::Cat.registry #=> "Fancy Southern Africa Cat Council"
@faker.version 1.9.2
# File lib/faker/creature/cat.rb, line 44 def registry fetch('creature.cat.registry') end