Given: this rspec file is in PROJECT_ROOT/spec
describe 'codebase' do
let(:lines_with_more_than_80_characters) do
Dir.glob( File.expand_path('../../lib/**/*.rb', __FILE__ ) ).map do |path|
File.open( path ) do |file|
idx = 0
file.lines.map do |line|
idx += 1