From: Rick DeNatale Date: 2007-05-21T20:46:34+09:00 Subject: Re: How to adopt "Python Style" indentation for Ruby On 5/21/07, Brian Candler wrote: > On Mon, May 21, 2007 at 03:53:25PM +0900, Giles Bowkett wrote: > > What would it take to write a Ruby pre-processor which parsed Ruby > > written in a Pythonic style and turned it into actual valid Ruby? > Actually, I'd happily settle for something simpler: a pretty-printer which > just reads (normal) Ruby and re-outputs it with standard indentation. > > This would immediately solve the problem of "where did I miss out an 'end' > statement?" - In vim, I find that ggVG= does that job well enough. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/