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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request