Skip to content

Instantly share code, notes, and snippets.

@MsJennyGiraffe
Last active May 11, 2016 23:40
Show Gist options
  • Save MsJennyGiraffe/00cf837da59df4479d513287cf3b3d45 to your computer and use it in GitHub Desktop.
Save MsJennyGiraffe/00cf837da59df4479d513287cf3b3d45 to your computer and use it in GitHub Desktop.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment