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

Version Path
speckle-0.1.15 lib/reporters/reporter_factory.riml
speckle-0.1.14 lib/reporters/reporter_factory.riml
speckle-0.1.13 lib/reporters/reporter_factory.riml
speckle-0.1.12 lib/reporters/reporter_factory.riml
speckle-0.1.11 lib/reporters/reporter_factory.riml
speckle-0.1.10 lib/reporters/reporter_factory.riml
speckle-0.1.9 lib/reporters/reporter_factory.riml
speckle-0.1.8 lib/reporters/reporter_factory.riml
speckle-0.1.7 lib/reporters/reporter_factory.riml
speckle-0.1.4 lib/reporters/reporter_factory.riml
speckle-0.1.3 lib/reporters/reporter_factory.riml
speckle-0.1.2 lib/reporters/reporter_factory.riml