Skip to content

amahi/rb-beautify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

rb-beautify - Ruby Beautifier

Trying to keep this old guy (from way back) up to date.

It will format ruby files to make them look good indentation wise and etc. It's kind of like go format, but for ruby (though it does not parse the program in).

If you find some code that this beautifier cannot handle, please send it our way by way of a bug or better yet a pull request.

Installation

Download files

Usage

$ ruby */rb-beautify.rb *.rb
or if you want stdin
$ ruby */rb-beautify.rb -

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

Releases

No releases published

Packages

No packages published

Languages