Sha256: 43d0b3f145b5207c0b145cf8e9c0c78491bce874e249765e476e58a00931c549
Contents?: true
Size: 893 Bytes
Versions: 2
Compression:
Stored size: 893 Bytes
Contents
= LOCat == DESCRIPTION LOCat is a fancy Lines-Of-Code analysis tool. == RESOURCES * {Homepage}[http://rubyworks.github.com/locat] * {Development}[http://github.com/rubyworks/locat] * {Issue Tracker}[http://github.com/rubyworks/locat/issues] * {Mailing List}[http://groups.google.com/group/rubyworks-mailinglist] == SYNOPSIS Define a `.locat` Ruby script in your project, e.g. match 'lib/**.rb' do |file, line| case line when /^\s*#/ 'Comment' when /^\s*$/ 'Blank' else 'Code' end end match 'test/**.rb' do |file, line| case line when /^\s*#/ 'Comment' when /^\s*$/ 'Blank' else 'Test' end end Then run `locat`, e.g. $ locat -o locat.html == COPYRIGHT Copyright (c) 2011 Thomas Sawyer, Rubyworks BSD 2-Clause License See COPYING.rdoc for details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locat-0.1.2 | README.rdoc |
locat-0.1.1 | README.rdoc |