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.12.18 lib/ruby-beautify/README.md
knife-chop-0.12.17 lib/ruby-beautify/README.md
knife-chop-0.12.03 lib/ruby-beautify/README.md
knife-chop-0.11.12 lib/ruby-beautify/README.md
knife-chop-0.9.5 lib/ruby-beautify/README.md
knife-chop-0.9.4 lib/ruby-beautify/README.md
knife-chop-0.9.2 lib/ruby-beautify/README.md
knife-chop-0.9.1 lib/ruby-beautify/README.md
knife-chop-0.9.0 lib/ruby-beautify/README.md
knife-chop-0.8.3 lib/ruby-beautify/README.md
knife-chop-0.8.2 lib/ruby-beautify/README.md
knife-chop-0.8.0 lib/ruby-beautify/README.md
knife-chop-0.7.8 lib/ruby-beautify/README.md
knife-chop-0.7.2 lib/ruby-beautify/README.md
knife-chop-0.7.1 lib/ruby-beautify/README.md
knife-chop-0.7.0 lib/ruby-beautify/README.md
knife-chop-0.6.7 lib/ruby-beautify/README.md
knife-chop-0.5.15 lib/ruby-beautify/README.md
knife-chop-0.4.1 lib/ruby-beautify/README.md
knife-chop-0.4.0 lib/ruby-beautify/README.md