A silly gem that cleans your source file.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install acme-bleach
Just 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.
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