Sha256: 4fa70661189aa8fb62f4b08a5e17e84843a2bceca9d8e9fce831bda0f184c480

Contents?: true

Size: 216 Bytes

Versions: 2

Compression:

Stored size: 216 Bytes

Contents

match 'lib/**.rb' do |file, line|
  case line
  when /^\s*#/
    'Comment'
  when /^\s*$/
    'Blank'
  else
    'Code'
  end
end

match 'test/**.rb' do |file, line|
  unless line.strip.empty?
    'Test'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locat-0.2.0 spec/fixtures/.locat
locat-0.1.2 spec/fixtures/.locat