RubyBeautifier
This gem is for beautifiying ruby code. It uses tradional regular expression parsing and is only intended to fix very common spacing issues.
Installation
Add this line to your application's Gemfile:
gem 'ruby_beautifier'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby_beautifier
Usage
require 'ruby_beautifier'
RubyBeautifier.run
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