Faker.Cat (Faker v0.16.0) View Source

Functions for generating Cat names, breeds, and registries

Link to this section Summary

Functions

Return a random Cat breed

Return a random Cat name

Return a random Cat registry

Link to this section Functions

Specs

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"

Specs

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"

Specs

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"