View Source Faker.Food.En (Faker v0.18.0)

Functions for food data in English.

Summary

Functions

Returns a description.

Returns a dish.

Returns an ingredient.

Returns a type of measurement.

Returns a measurement size.

Returns a metric measurement.

Returns a spicy ingredient.

Returns a type of sushi.

Functions

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

Returns a description.

Examples

iex> Faker.Food.En.description()
"Two buttermilk waffles, topped with whipped cream and maple syrup, a side of two eggs served any style, and your choice of smoked bacon or smoked ham."
iex> Faker.Food.En.description()
"28-day aged 300g USDA Certified Prime Ribeye, rosemary-thyme garlic butter, with choice of two sides."
iex> Faker.Food.En.description()
"Breaded fried chicken with waffles, and a side of maple syrup."
iex> Faker.Food.En.description()
"Creamy mascarpone cheese and custard layered between espresso and rum soaked house-made ladyfingers, topped with Valrhona cocoa powder."
@spec dish() :: String.t()

Returns a dish.

Examples

iex> Faker.Food.En.dish()
"Vegetable Soup"
iex> Faker.Food.En.dish()
"Fish and chips"
iex> Faker.Food.En.dish()
"Pork belly buns"
iex> Faker.Food.En.dish()
"Pasta Carbonara"
@spec ingredient() :: String.t()

Returns an ingredient.

Examples

iex> Faker.Food.En.ingredient()
"Tomatoes"
iex> Faker.Food.En.ingredient()
"Albacore Tuna"
iex> Faker.Food.En.ingredient()
"Potatoes"
iex> Faker.Food.En.ingredient()
"Tinned"
@spec measurement() :: String.t()

Returns a type of measurement.

Examples

iex> Faker.Food.En.measurement()
"teaspoon"
iex> Faker.Food.En.measurement()
"gallon"
iex> Faker.Food.En.measurement()
"pint"
iex> Faker.Food.En.measurement()
"cup"
@spec measurement_size() :: String.t()

Returns a measurement size.

Examples

iex> Faker.Food.En.measurement_size()
"1/4"
iex> Faker.Food.En.measurement_size()
"3"
iex> Faker.Food.En.measurement_size()
"1"
iex> Faker.Food.En.measurement_size()
"1/2"
@spec metric_measurement() :: String.t()

Returns a metric measurement.

Examples

iex> Faker.Food.En.metric_measurement()
"centiliter"
iex> Faker.Food.En.metric_measurement()
"deciliter"
iex> Faker.Food.En.metric_measurement()
"liter"
iex> Faker.Food.En.metric_measurement()
"milliliter"
@spec spice() :: String.t()

Returns a spicy ingredient.

Examples

iex> Faker.Food.En.spice()
"Garlic Salt"
iex> Faker.Food.En.spice()
"Ras-el-Hanout"
iex> Faker.Food.En.spice()
"Curry Hot"
iex> Faker.Food.En.spice()
"Peppercorns Mixed"
@spec sushi() :: String.t()

Returns a type of sushi.

Examples

iex> Faker.Food.En.sushi()
"Whitespotted conger"
iex> Faker.Food.En.sushi()
"Japanese horse mackerel"
iex> Faker.Food.En.sushi()
"Salmon"
iex> Faker.Food.En.sushi()
"Octopus"