Class: Grntest::Reporters::BaseReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/grntest/reporters/base-reporter.rb

Direct Known Subclasses

InplaceReporter, MarkReporter, StreamReporter

Instance Method Summary collapse

Constructor Details

#initialize(tester) ⇒ BaseReporter

Returns a new instance of BaseReporter.



21
22
23
24
25
26
27
# File 'lib/grntest/reporters/base-reporter.rb', line 21

def initialize(tester)
  @tester = tester
  @term_width = guess_term_width
  @output = @tester.output
  @mutex = Mutex.new
  reset_current_column
end