module FFaker::Food
Public Instance Methods
fruit()
click to toggle source
# File lib/ffaker/food.rb, line 16 def fruit fetch_sample(FRUIT) end
herb_or_spice()
click to toggle source
# File lib/ffaker/food.rb, line 24 def herb_or_spice fetch_sample(HERB_SPICE) end
ingredient()
click to toggle source
# File lib/ffaker/food.rb, line 8 def ingredient send(%w[vegetable fruit meat herb_or_spice][rand 4]) end
meat()
click to toggle source
# File lib/ffaker/food.rb, line 20 def meat fetch_sample(MEAT) end
vegetable()
click to toggle source
# File lib/ffaker/food.rb, line 12 def vegetable fetch_sample(VEGETABLE) end