module FFaker::FoodPL
Public Instance Methods
Source
# File lib/ffaker/food_pl.rb, line 8 def food case rand(0..1) when 0 then processed when 1 then unprocessed end end
Source
# File lib/ffaker/food_pl.rb, line 15 def processed case rand(0..2) when 0 then fermented when 1 then diary when 2 then preserves end end
Source
# File lib/ffaker/food_pl.rb, line 23 def unprocessed case rand(0..4) when 0 then vegetable when 1 then fruit when 2 then herb when 3 then spice when 4 then meat end end
Source
# File lib/ffaker/food_pl.rb, line 33 def vegetable fetch_sample(VEGETABLES) end