Sha256: 97a1228918bf7e2c22d900a0bb728791a461dbcdf387ea16f6c1abbfcc8ea3e1

Contents?: true

Size: 418 Bytes

Versions: 8

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require 'memo_wise'

class SimpleCov::Formatter::Terminal::TargetFileWriter
  def initialize(targeted_application_file)
    @targeted_application_file = targeted_application_file
  end

  def write_target_info_file
    directory = 'tmp/simple_cov/formatter/terminal'
    FileUtils.mkdir_p(directory)
    File.write("#{directory}/target.txt", "#{@targeted_application_file}\n")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_cov-formatter-terminal-1.4.0 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-1.3.0 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-1.2.0 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-1.1.0 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-1.0.0 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-0.3.1 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-0.3.0 lib/simple_cov/formatter/terminal/target_file_writer.rb
simple_cov-formatter-terminal-0.2.4 lib/simple_cov/formatter/terminal/target_file_writer.rb