byepry
A simple ruby gem that delete all the lines that contain 'binding.pry'
Introduction
Once you start using Pry, you just can't live without it. But it's also a pain in the neck to manually remove all the break points you put, especially when the project is big and the break points are in multiple files. Byepry is a simple gem that drops all the lines that contain binding.pry
with a single command line.
Installation
Run gem install byepry
How to use ?
- In your terminal, go to the root of your project.
- Run
byepry
- Enjoy :D
Options
Use the -i
option to ignore the commented lines. (It will only remove the non commented lines that contains binding.pry
)