A little program that prints out all the steps to cook your pancake recipe with Ruby.
These are the steps I followed when working on this program:
- Create helper methods
- Define ingredients
- Print out the ingredients
- Ask user for check if ingredients are ready
- Define the Recipe Steps
- Print out the Steps
- Define the Steps Actions
- Check if user ready for next step
- Iterate through each of the steps
- Print done with cooking message
Make sure you have Ruby installed.
git clone git@github.com:Cesurhan/pancake-instructions.git
cd pancake-instructions
ruby pancake.rb
For more information about Ruby, see the documentation link below: