Project

byepry

0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem that removes the 'binding.pry' lines
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.8.1
 Project Readme

Gem Version GitHub version

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 ?

  1. In your terminal, go to the root of your project.
  2. Run byepry
  3. Enjoy :D

Options

Use the -i option to ignore the commented lines. (It will only remove the non commented lines that contains binding.pry)