Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Rubyfmt

Ruby port of gofmt.

Build Status Code Climate

Usage

$ echo 'def hello(who="world");puts "Hello #{who}";end' | ./bin/rubyfmt

Outputs:

def hello(who = "world")
  puts "Hello #{who}"
end

Installation

Add this line to your application's Gemfile:

gem 'rubyfmt'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rubyfmt

Credits

  • seattle.rb - for ruby_parser & ruby2ruby which do all of the heavy-lifting.

Contributing

See CONTRIBUTING.md

About

No description, website, or topics provided.

Resources

License

Languages

You can’t perform that action at this time.