A silly gem that cleans your source file.
Just install it yourself as:
$ gem install acme-bleach
Require this gem and the first time you run your script your file will be cleaned of all the messy things like printable characters. The next time it will still run as usual, but without any visible code.
NB: this should be in a
.rb script that you're going to run. This is not a
gem for Rails or to be included in another gem.
Damian Conway for the original Perl version from which I stole liberally.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request