module FFaker::FoodPL

def diary

def diary
  fetch_sample(DIARY)
end

def fermented

def fermented
  fetch_sample(FERMENTED)
end

def food

def food
  case rand(0..1)
  when 0 then processed
  when 1 then unprocessed
  end
end

def fruit

def fruit
  fetch_sample(FRUITS)
end

def herb

def herb
  fetch_sample(HERBS)
end

def meat

def meat
  fetch_sample(MEATS)
end

def preserves

def preserves
  fetch_sample(PRESERVES)
end

def processed

def processed
  case rand(0..2)
  when 0 then fermented
  when 1 then diary
  when 2 then preserves
  end
end

def spice

def spice
  fetch_sample(SPICES)
end

def unprocessed

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

def vegetable

def vegetable
  fetch_sample(VEGETABLES)
end