File: food.md

package info (click to toggle)
ruby-faker 3.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,596 kB
  • sloc: ruby: 20,656; sh: 6; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Faker::Food

Available since version 1.7.0.

```ruby
Faker::Food.allergen #=> "Peanuts"

Faker::Food.description #=> "Three eggs with cilantro, tomatoes, onions, avocados and melted Emmental cheese. With a side of roasted potatoes, and your choice of toast or croissant."

Faker::Food.dish #=> "Caesar Salad"

Faker::Food.ethnic_category #=> "Indian cuisine"

Faker::Food.fruits #=> "Peaches"

Faker::Food.ingredient #=> "Adzuki Beans"

Faker::Food.measurement #=> "1/4 tablespoon"

Faker::Food.metric_measurement #=> "centiliter"

Faker::Food.spice #=> "Caraway Seed"

Faker::Food.sushi #=> "Sea bream"

Faker::Food.vegetables #=> "Broccolini"
```