Sha256: ec20226e99ab7728795db6c3f9d512fdeacdc60ba967dca2c8e13c3f86525cd3

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

require 'ceedling/plugin'
require 'ceedling/streaminator'
require 'ceedling/constants'

class ColourReport < Plugin

  def setup
    @ceedling[:stream_wrapper].stdout_override(&ColourReport.method(:colour_stdout))
  end

  def self.colour_stdout(string)
    require 'colour_reporter.rb'
    report string
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.29.1 plugins/colour_report/lib/colour_report.rb
ceedling-0.29.0 plugins/colour_report/lib/colour_report.rb