This gem includes a class that was built using test-driven development with rspec. It can be initialised with a food and its values (in gramms) of macronutrients, say Carbohydrates, Fats and Proteins