A command line simulator of an automatic coffee dispensing machine.
Each drink has its own class and it contains the ingredients that are needed to make it along with the name of the drink and its order number on the baristamatic menu. This is an attempt to adhere to Object Oriented principles and have separation of concerns for each class. The BaristaMatic class is the only one that has methods and deals with all of the logic to make drinks etc.
Run file barista_matic_runner.rb.
- Drinks are ordered based on their number on the menu.
- "R" or "r": restocks inventory
- "Q" or "q": quits program
Test coverage for barista matic class methods through Rspec. To view tests run command line command "rspec" while in the baristamatic directory.