Sha256: fff0320228000b78c82371696cc4232d388404951239c8fcbc537a1a7d6abe06

Contents?: true

Size: 392 Bytes

Versions: 36

Compression:

Stored size: 392 Bytes

Contents

module SimpleCov
  module Formatter
    class HTMLFormatter
      def format(result)
        Dir[File.join(File.dirname(__FILE__), "../public/*")].each do |path|
          FileUtils.cp_r(path, asset_output_path)
        end

        File.open(File.join(output_path, "index.html"), "wb") do |file|
          file.puts template("layout").result(binding)
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 4 rubygems

Version Path
aruba-0.14.14 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.13 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/aruba-0.14.12/fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.12 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.11 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.10 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.9 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.8 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.7 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.6 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.5 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.4 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.3 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-1.0.0.pre.alpha.2 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-1.0.0.pre.alpha.1 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-win-fix-0.14.2 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-turnip-0.1.1 spec/acceptance/fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-turnip-0.1.0 spec/acceptance/fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.2 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
aruba-0.14.1 fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb