Sha256: 3bec135197f07509383c442fab7066697bee95ed52fa38c59538382abf4c9dc8

Contents?: true

Size: 906 Bytes

Versions: 36

Compression:

Stored size: 906 Bytes

Contents

# RBeautify

This gem provides a cli binary named 'rbeautify' that will pretty up ruby code.

## Installation

    $ gem install ruby-beautify

## Usage

To Pretty up a file:

		$ rbeautify filename

It can take mulitple filenames:

		$ rbeautify a b c

Without a filename it reads from STDIN, suitable for piping:

		$ curl 'http://example.org/ugly-file.rb' | rbeautify

It has help:

		$ rbeautify -h

## Contributing

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

# History

The original analyzer is available at: http://www.arachnoid.com/ruby/rubyBeautifier.html.

My work is based off of this sublime-text2 plugin: https://github.com/CraigWilliams/BeautifyRuby but cleaned up and made suitable for use directly in a shell.

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
knife-chop-0.3.7 lib/ruby-beautify/README.md
knife-chop-0.3.6 lib/ruby-beautify/README.md
knife-chop-0.3.5 lib/ruby-beautify/README.md
knife-chop-0.3.4 lib/ruby-beautify/README.md
knife-chop-0.3.3 lib/ruby-beautify/README.md
knife-chop-0.3.2 lib/ruby-beautify/README.md
knife-chop-0.3.0 lib/ruby-beautify/README.md
knife-chop-0.3.1 lib/ruby-beautify/README.md
knife-chop-0.2.11 lib/ruby-beautify/README.md
knife-chop-0.2.9 lib/ruby-beautify/README.md
knife-chop-0.2.7 lib/ruby-beautify/README.md
knife-chop-0.2.8 lib/ruby-beautify/README.md
knife-chop-0.2.6 lib/ruby-beautify/README.md
ruby-beautify-0.92.2 README.md
ruby-beautify-0.92.1 README.md
ruby-beautify-0.92.0 README.md