Sha256: eda73f70d84a4479ea7cac6b0373cb4f09f19139c6f644bd1c680f8a7b0982c1
Contents?: true
Size: 389 Bytes
Versions: 12
Compression:
Stored size: 389 Bytes
Contents
class ReporterFactory defm get_reporter(reporter_name) if a:reporter_name == 'spec' return new SpecReporter() elseif a:reporter_name == 'min' return new MinReporter() elseif a:reporter_name == 'tap' return new TAPReporter() elseif a:reporter_name == 'dot' return new DotMatrixReporter() else return new SpecReporter() end end end
Version data entries
12 entries across 12 versions & 1 rubygems