Module: Codacy::Reporter

Defined in:
lib/codacy/reporter.rb

Class Method Summary collapse

Class Method Details

.start(profile = nil, partial = true) ⇒ Object



5
6
7
8
# File 'lib/codacy/reporter.rb', line 5

def self.start(profile = nil, partial = true)
  SimpleCov.formatter = partial ? Codacy::Formatter::Partial : Codacy::Formatter
  SimpleCov.start(profile)
end