Sha256: 19006cc8c4adbb6e860f0b72379f47ed1e5942125def4aa4932af358cb23d3ad
Contents?: true
Size: 379 Bytes
Versions: 6
Compression:
Stored size: 379 Bytes
Contents
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
6 entries across 6 versions & 1 rubygems