Class: RSpec::Core::Formatters::ProfileFormatter Private
- Inherits:
-
Object
- Object
- RSpec::Core::Formatters::ProfileFormatter
- Defined in:
- lib/rspec/core/formatters/profile_formatter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Formatter for providing profile output
Instance Method Summary (collapse)
-
- (void) dump_profile
This method is invoked after the dumping the summary if profiling is enabled.
-
- (ProfileFormatter) initialize(output)
constructor
private
A new instance of ProfileFormatter.
Constructor Details
- (ProfileFormatter) initialize(output)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ProfileFormatter
12 13 14 |
# File 'lib/rspec/core/formatters/profile_formatter.rb', line 12 def initialize(output) @output = output end |
Instance Method Details
- (void) dump_profile
This method is invoked after the dumping the summary if profiling is enabled.
27 28 29 30 |
# File 'lib/rspec/core/formatters/profile_formatter.rb', line 27 def dump_profile(profile) dump_profile_slowest_examples(profile) dump_profile_slowest_example_groups(profile) end |