Sha256: 62a2ed127d7a318ac7c0a358834c2f81145b6aa84d32c3ed11b4ce41511881b0
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
class ReporterFactory defm get_reporter(reporter_name) if reporter_name == 'spec' return new SpecReporter() elseif reporter_name == 'min' return new MinReporter() elseif reporter_name == 'tap' return new TAPReporter() elseif reporter_name == 'dot' return new DotMatrixReporter() else return new SpecReporter() end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
speckle-0.1.16 | lib/reporters/reporter_factory.riml |