Method: Faker::Food.description

Defined in:
lib/faker/default/food.rb

.descriptionString

Retrieves a description about some dish

Examples:

Faker::Food.description #=> "Breaded fried chicken with waffles. Served with maple syrup."

Returns:

  • (String)

Available since:

  • 1.9.0



43
44
45
# File 'lib/faker/default/food.rb', line 43

def description
  fetch('food.descriptions')
end