Faker v0.12.0 Faker.Food.En View Source
Functions for food data in English.
Link to this section 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.
Link to this section Functions
Link to this function
description()
View Source
description()
View Source
description() :: String.t()
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."
Link to this function
dish()
View Source
dish()
View Source
dish() :: String.t()
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"
Link to this function
ingredient()
View Source
ingredient()
View Source
ingredient() :: String.t()
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"
Link to this function
measurement()
View Source
measurement()
View Source
measurement() :: String.t()
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"
Link to this function
measurement_size()
View Source
measurement_size()
View Source
measurement_size() :: String.t()
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"
Link to this function
metric_measurement()
View Source
metric_measurement()
View Source
metric_measurement() :: String.t()
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"
Link to this function
spice()
View Source
spice()
View Source
spice() :: String.t()
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"
Link to this function
sushi()
View Source
sushi()
View Source
sushi() :: String.t()
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"