Sha256: 4ae4aa8ec4544a689cc76797e3620efc7e9a59754fb8eb0ad0b6f33aec943ed7

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

require 'terminal-table'

module SimpleCov
  module SingleFile
    module Output
      module Table
        def output(lines)
          table = Terminal::Table.new(
            title: 'SimpleCov Single File Coverage',
            rows: lines,
            style: { all_separators: true }
          )

          puts table
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simplecov-single_file-0.1.0 lib/simplecov/single_file/output/table.rb