Sha256: 3a1349520c225febaaf97bff7034ac6a4646b658228fc7abb45512f2b240fbb8
Contents?: true
Size: 412 Bytes
Versions: 9
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true module FFakerTW module Food extend ModuleUtils extend self def ingredient send(%w[vegetable fruit meat herb_or_spice][rand 4]) end def vegetable fetch_sample(VEGETABLE) end def fruit fetch_sample(FRUIT) end def meat fetch_sample(MEAT) end def herb_or_spice fetch_sample(HERB_SPICE) end end end
Version data entries
9 entries across 9 versions & 1 rubygems