Sha256: 26b29ec7e7cdd6cbdfec1c8b67845b45c84dcdd47ebe852aa3b9c1144a698b9c
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
require 'lemon/reporter/dotprogress' require 'lemon/reporter/outline' require 'lemon/reporter/verbose' module Lemon module Reporter # TODO: make Reporter#factory more dynamic def self.factory(format, runner) format = format.to_s if format case format when 'v', 'verb', 'verbose' Reporter::Verbose.new(runner) when 'o', 'out', 'outline' Reporter::Outline.new(runner) else Reporter::DotProgress.new(runner) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lemon-0.8.1 | lib/lemon/reporter.rb |
lemon-0.8.0 | lib/lemon/reporter.rb |
lemon-0.7.0 | lib/lemon/reporter.rb |