From: Ryan Phillips Date: 2005-03-05T06:26:40+09:00 Subject: Re: indent.rb <- does such a beast exist? Ben Giddings wrote: > Does anybody have a standalone Ruby app and/or library that will > properly indent a chunk of Ruby code? I'm looking for something that > does the equivalent of "indent-region" in ruby-mode for Emacs. > > I know something like this exists in a few libraries -- I've heard > talk about it from the ParseTree / RubyToC folks. I just wonder if > anybody has packaged one up as a standalone app and/or library. This is not a ruby solution, but vim will reformat ruby code if emacs isn't handy. vim -c "normal ggVG=" test.rb -ryan