Module: Minitest

Defined in:
lib/minitest/fivemat_plugin.rb

Defined Under Namespace

Classes: FivematReporter

Class Method Summary collapse

Class Method Details

.plugin_fivemat_init(options) ⇒ Object



30
31
32
33
34
# File 'lib/minitest/fivemat_plugin.rb', line 30

def self.plugin_fivemat_init(options)
  if reporter.kind_of?(CompositeReporter)
    reporter.reporters.unshift(FivematReporter.new(options[:io], options))
  end
end