require "recomfood/version" module Recomfood class Error < StandardError; end def recom(food) @food=food if(@food.name=='pizza'||@food.name='PIZZA'||@food.name='Pizza') suggest('Pineapple Pizza',2.0) elsif (@food.name=='Kadhai Paneer'||@food.name='kadhai paneer'||@food.name='Kadhai Paneer') suggest('Mutter Paneer',2.0) elsif (@food.name=='Mutter Paneer') suggest('Kadhai Paneer',2.0) elsif (@food.name=='Chicken Burger') suggest('Pizza',2.0) elsif (@food.name=='Manchow Soup') suggest('Hakka Noodles',2.0) elsif (@food.name=='Hakka Noodles') suggest('Manchow Soup',4.0) elsif (@food.name=='Latte') suggest('cappuchino',2.0) elsif (@food.name=='cappuchino') suggest('Pineapple Pizza',2.0) elsif (@food.name=='pizza'||@food.name='PIZZA'||@food.name='Pizza') suggest('Pineapple Pizza',2.0) elsif (@food.name=='pizza'||@food.name='PIZZA'||@food.name='Pizza') suggest('Pineapple Pizza',2.0) elsif (@food.name=='pizza'||@food.name='PIZZA'||@food.name='Pizza') suggest('Pineapple Pizza',2.0) elsif (@food.name=='pizza'||@food.name='PIZZA'||@food.name='Pizza') suggest('Pineapple Pizza',2.0) elsif (@food.name=='pizza'||@food.name='PIZZA'||@food.name='Pizza') suggest('Pineapple Pizza',2.0) end end def suggest(str,price) @suggestion=str @price=price end end end