Class: Minitest::Stately::Reporter

Inherits:
Reporter
  • Object
show all
Defined in:
lib/minitest/stately/reporter.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Reporter

Returns a new instance of Reporter.



4
5
6
# File 'lib/minitest/stately/reporter.rb', line 4

def initialize(options={})
  super(options.delete(:io) || $stdout, options)
end

Instance Method Details

#reportObject



8
9
10
# File 'lib/minitest/stately/reporter.rb', line 8

def report
  io.puts(Minitest::Stately.watcher.report)
end