ruby_beautifier/code prettifier.

What it does:
you run rbeautify ill-aligned code, like
def go
if 3
end
end

and it converts said file to

def go
  if 3
  end
end

Quite convenient for those of us working on the command line.  It also
helps you find indentation mismatches [i.e. missing $end's] by cleaning
up the code so you can see where, and warning you where it sees a
problem.

Many thanks to the original author [I just gemif-ied his existing
script].
http://www.arachnoid.com/ruby/rubyBeautifier.html

Synopsis:
gem sources -a http://gems.github.com
sudo gem install rogerdpack-rbeautify

rbeautify <script name>

Comments welcome.
Thanks!
=r
-- 
Posted via http://www.ruby-forum.com/.