Sha256: a6067a5503ff742d71a66d7e9a306190ef82e5392c5564c70561c2c47803a32d
Contents?: true
Size: 410 Bytes
Versions: 13
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true module FFaker 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
13 entries across 13 versions & 1 rubygems