Packages

Generate fake (but realistic) data for testing and development.

Retired package: Deprecated - use fake instead

Current section

Files

Jump to
ever_faker lib faker color it.ex
Raw

lib/faker/color/it.ex

defmodule EverFaker.Color.It do
import EverFaker, only: [sampler: 2]
@moduledoc """
Functions for color data in Italian
"""
@doc """
Returns a random Italian color name
## Examples
iex> EverFaker.Color.It.name()
"Rosso"
iex> EverFaker.Color.It.name()
"Verde"
iex> EverFaker.Color.It.name()
"Marrone"
iex> EverFaker.Color.It.name()
"Rosa"
"""
@spec name() :: String.t()
sampler(:name, [
"Rosso",
"Verde",
"Nero",
"Azzurro",
"Rosa",
"Marrone",
"Arancio",
"Giallo",
"Viola",
"Bianco"
])
end