class SimpleCovLcov::Configuration

Attributes

lcov_file_name[W]
output_directory[W]
report_with_single_file[W]

Public Instance Methods

lcov_file_name() click to toggle source
# File lib/simple_cov_lcov/configuration.rb, line 24
def lcov_file_name
  @lcov_file_name || "#{Pathname.new(SimpleCov.root).basename}.lcov"
end
output_directory() click to toggle source
# File lib/simple_cov_lcov/configuration.rb, line 11
def output_directory
  @output_directory || File.join(SimpleCov.coverage_path, 'lcov')
end
report_with_single_file?() click to toggle source
# File lib/simple_cov_lcov/configuration.rb, line 7
def report_with_single_file?
  !!@report_with_single_file
end
single_report_path() click to toggle source
# File lib/simple_cov_lcov/configuration.rb, line 20
def single_report_path
  @single_report_path || File.join(output_directory, lcov_file_name)
end
single_report_path=(new_path) click to toggle source
# File lib/simple_cov_lcov/configuration.rb, line 15
def single_report_path=(new_path)
  self.output_directory = File.dirname(new_path)
  @single_report_path = new_path
end