From: Jan Friedrich Date: 2008-08-12T18:37:38+09:00 Subject: Re: How Pretty is your code? Mateusz Tybura wrote: > I've just uploaded my new ruby project Pretty. It's simple tool to check > your code. In release 0.1 it checks: > - 1st line for shebang Hm, what if I don't want a shebang line for example in a library file which should not run as an independant script? By the way the actual version on rubyforge has a bug in line 22 if there is no shebang line in a file. Do you know the difference between = and < - how long are lines, how many tabulations you use The most Ruby programmers use two spaces for indentination, so there will be no tabs everywhere. ;-) The idea of checking some coding rules can be helpful but be aware about the assumtions you take. ;-) Regards Jan