Class: Minitest::Reporter

Inherits:
AbstractReporter show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/minitest-5.17.0/lib/minitest.rb

Overview

:nodoc:

Direct Known Subclasses

ProgressReporter, StatisticsReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractReporter

#passed?, #prerecord, #record, #report, #start

Constructor Details

#initialize(io = $stdout, options = {}) ⇒ Reporter

:nodoc:



628
629
630
631
632
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/minitest-5.17.0/lib/minitest.rb', line 628

def initialize io = $stdout, options = {} # :nodoc:
  super()
  self.io      = io
  self.options = options
end

Instance Attribute Details

#ioObject

The IO used to report.



621
622
623
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/minitest-5.17.0/lib/minitest.rb', line 621

def io
  @io
end

#optionsObject

Command-line options for this run.



626
627
628
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/minitest-5.17.0/lib/minitest.rb', line 626

def options
  @options
end