Last active
March 22, 2016 05:44
-
-
Save weilandia/39b88385df2be20aca84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey 1511, | |
If you are still needing to require 'pry' at the top of your specs, here's a quick fix that can save you some time: | |
1. Go to your atom preferences (cdm ,) | |
2. Click on 'Open Config Folder' | |
3. Navigate to your 'snippets.cson' file. | |
4. Paste the following code at the top of the file: | |
'.source.ruby': | |
'pry': | |
'prefix': 'pry' | |
'body': 'require "pry"; binding.pry' | |
5. If you want to add additional snippets, simply at them on the same indentation of the first 'pry', below the 'body' line. Happy prying! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment