From: Robert Dober Date: 2008-08-20T11:19:59+09:00 Subject: Re: Pretty 0.3.1 released On Tue, Aug 19, 2008 at 1:03 PM, Mateusz Tybura wrote: > Changes: > - Code is now using rules files to parse files specified by user > - Rules fixed > > Usage: pretty [-language] filename(-s) > > Project now need people who will write rules files for another > languages. This is rule file for Ruby: > > line.size > 80 !!! Too long line > line =~ /^;/ !!! Don't use ; really = %{code ; comment } > line =~ /[$]\w+/ !!! Using global variables is not good idea except that > you are using special variables like $_ are_you_sure = "Make some $money" Robert -- http://ruby-smalltalk.blogspot.com/ There's no one thing that's true. It's all true. -- Ernest Hemingway