View Source Faker.Cat (Faker v0.18.0)

Functions for generating Cat names, breeds, and registries

Summary

Functions

Return a random Cat breed

Return a random Cat name

Return a random Cat registry

Functions

@spec breed() :: String.t()

Return a random Cat breed

Examples

iex> Faker.Cat.breed()
"Mekong Bobtail"
iex> Faker.Cat.breed()
"Suphalak"
iex> Faker.Cat.breed()
"Russian White, Black and Tabby"
iex> Faker.Cat.breed()
"Asian Semi-longhair"
@spec name() :: String.t()

Return a random Cat name

Examples

iex> Faker.Cat.name()
"Daisy"
iex> Faker.Cat.name()
"Lily"
iex> Faker.Cat.name()
"Felix"
iex> Faker.Cat.name()
"Max"
@spec registry() :: String.t()

Return a random Cat registry

Examples

iex> Faker.Cat.registry()
"Cat Aficionado Association"
iex> Faker.Cat.registry()
"Fédération Internationale Féline"
iex> Faker.Cat.registry()
"Fédération Internationale Féline"
iex> Faker.Cat.registry()
"Fédération Internationale Féline"