class SimpleCov::Formatter::WorkspaceLcovFormatter::Configuration
Attributes
lcov_file_name[W]
output_directory[W]
report_with_single_file[W]
workspace_path[W]
Public Instance Methods
lcov_file_name()
click to toggle source
# File lib/simplecov-workspace-lcov/configuration.rb, line 31 def lcov_file_name @lcov_file_name || "#{Pathname.new(SimpleCov.root).basename}.lcov" end
output_directory()
click to toggle source
# File lib/simplecov-workspace-lcov/configuration.rb, line 18 def output_directory @output_directory || File.join(SimpleCov.coverage_path, 'lcov') end
report_with_single_file?()
click to toggle source
# File lib/simplecov-workspace-lcov/configuration.rb, line 10 def report_with_single_file? !!@report_with_single_file end
single_report_path()
click to toggle source
# File lib/simplecov-workspace-lcov/configuration.rb, line 27 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/simplecov-workspace-lcov/configuration.rb, line 22 def single_report_path=(new_path) self.output_directory = File.dirname(new_path) @single_report_path = new_path end
workspace_path()
click to toggle source
# File lib/simplecov-workspace-lcov/configuration.rb, line 14 def workspace_path @workspace_path || SimpleCov.root end