Class: Minitest::TestProf::EventProfFormatter
- Inherits:
-
Object
- Object
- Minitest::TestProf::EventProfFormatter
- Defined in:
- lib/minitest/event_prof_formatter.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(profiler) ⇒ EventProfFormatter
constructor
A new instance of EventProfFormatter.
- #prepare_results ⇒ Object
Constructor Details
#initialize(profiler) ⇒ EventProfFormatter
Returns a new instance of EventProfFormatter.
14 15 16 17 |
# File 'lib/minitest/event_prof_formatter.rb', line 14 def initialize(profiler) @profiler = profiler @results = [] end |
Instance Method Details
#prepare_results ⇒ Object
19 20 21 22 23 24 |
# File 'lib/minitest/event_prof_formatter.rb', line 19 def prepare_results total_results by_groups by_examples @results.join end |