Class: Grntest::Reporters::BaseReporter
- Inherits:
-
Object
- Object
- Grntest::Reporters::BaseReporter
- Defined in:
- lib/grntest/reporters/base-reporter.rb
Direct Known Subclasses
BenchmarkJSONReporter, InplaceReporter, MarkReporter, StreamReporter
Instance Method Summary collapse
-
#initialize(tester) ⇒ BaseReporter
constructor
A new instance of BaseReporter.
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 |