This exercise is based on the Lynda.com Basic Ruby Essential training.
Food Finder is a simple command line run Ruby programme which allow users to consult a list of restaurants to decide what to eat.
Users will be able to add new restaurants and this data will be stored in a text file.
This exercise is based on Lynda.com's "RSpec Testing" course.
There will be user interaction:
- look for a restaurant
- list restaurants
- name, cuisine, and price
- sortable
- add new restaurants to the list
- find restaurants by keyword
At the your teminal command prompt simply run ruby init.rb
and choose one of the actions: list
, find
, add
, quit
.
- Ruby version 3.0.0
- RSpec version 3.11.X