Sha256: 0505f7dd886e7aae3444f08fc8c43352fae90b07b78d154ff3a1f59b80d62148

Contents?: true

Size: 548 Bytes

Versions: 6

Compression:

Stored size: 548 Bytes

Contents

module Coverband
  class Configuration
    attr_accessor :redis, :coverage_baseline, :root_paths, :root, :ignore, :percentage, :verbose, :reporter, :stats, :logger, :startup_delay
    
    def initialize
      @root = Dir.pwd
      @redis = nil
      @stats = nil
      @coverage_baseline = {}
      @root_paths = []
      @ignore = []
      @percentage = 0.0
      @verbose = false
      @reporter = 'scov'
      @logger = Logger.new(STDOUT)
      @startup_delay = 0
    end

    def logger
      @logger ||= Logger.new(STDOUT)
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
coverband-1.0.0 lib/coverband/configuration.rb
coverband-0.1.0.preRC9 lib/coverband/configuration.rb
coverband-0.1.0.preRC8 lib/coverband/configuration.rb
coverband-0.1.0.preRC7 lib/coverband/configuration.rb
coverband-0.1.0.preRC6 lib/coverband/configuration.rb
coverband-0.1.0.preRC5 lib/coverband/configuration.rb