Intro - 10 minutes
- How to use pry
- Install the gem
- Using it in the terminal
- What it's good for
- Learning what Ruby is doing that you don't always see
- Figuring out errors in code
Live coding hopefully with audience participation - 25 minutes
- Going through collections to better understand what's going on while we manipulate then.
Bug Fixing - 20 minutes
- Going through some intentionally broken code and seeing what the error is and how to fix it with pry.
- Using examples from Scrabble from collections and Deaf Grandma from drills.
Summary/Takeaways -5 minutes
- Being able to play around with Pry lowers coding pressure
- It's a good tool to figure out where something is going wrong or not meeting our expectations.