class Faker::Food
Public Class Methods
dish()
click to toggle source
# File lib/faker/food.rb, line 4 def dish fetch('food.dish') end
ingredient()
click to toggle source
# File lib/faker/food.rb, line 8 def ingredient fetch('food.ingredients') end
measurement()
click to toggle source
# File lib/faker/food.rb, line 16 def measurement fetch('food.measurement_sizes') + ' ' + fetch('food.measurements') end
metric_measurement()
click to toggle source
# File lib/faker/food.rb, line 20 def metric_measurement fetch('food.metric_measurements') end
spice()
click to toggle source
# File lib/faker/food.rb, line 12 def spice fetch('food.spices') end