Rewriter
A simple utility to parse and reconstruct ruby code to maintain a given coding style.
Currently just a proof of concept.
Installation
$ gem install rewriter
$ rbenv rehash # if you're using rbenvUsage
$ rewrite foo.rbNOTE: rewrite literally rewrites the file in place; use it with a control version system like git so you can revert the changes.
Contributing
- 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