Sha256: 25fa1d32645945131484c460b1f45ab5789784dae2a0b1ffddd3ef3e6493f9d2
Contents?: true
Size: 669 Bytes
Versions: 2
Compression:
Stored size: 669 Bytes
Contents
module Petitest class Configuration DEFAULT_COLOR_SCHEME = { detail: :cyan, error: :red, failure: :red, pass: :green, skip: :yellow, } # @return [Hash{Symbol => Symbol}] attr_accessor :color_scheme # @return [Boolean] attr_accessor :color # @return [IO] attr_accessor :output # @return [Array<Petitest::Subscribers::BaseSubscriber>] attr_accessor :subscribers def initialize @color_scheme = DEFAULT_COLOR_SCHEME.dup @color = true @output = ::STDOUT @output.sync = true @subscribers = [::Petitest::Subscribers::ProgressReportSubscriber.new] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
petitest-0.1.3 | lib/petitest/configuration.rb |
petitest-0.1.2 | lib/petitest/configuration.rb |