PetName v0.1.0
PetName
View Source
This module will return a nickname for your pet or unfortunate loved one.
Get a random element from a list
Get a nice pet name.
Examples
iex> :rand.seed(:exsplus, {9, 8, 7}) # seed prng
iex> PetName.get()
"fuzzy monkey"
Get a random element from a list
Examples
iex> PetName.rando()
nil
iex> :rand.seed(:exsplus, {1, 1, 1}) # seed prng
iex> PetName.rando(1..100)
11