class RSpec::Core::Formatters::ProfileFormatter
@api private Formatter for providing profile output.
Attributes
@private
Public Class Methods
# File rspec-core/lib/rspec/core/formatters/profile_formatter.rb, line 11 def initialize(output) @output = output end
Public Instance Methods
@api public
This method is invoked after the dumping the summary if profiling is enabled.
@param profile [ProfileNotification] containing duration,
slowest_examples and slowest_example_groups
# File rspec-core/lib/rspec/core/formatters/profile_formatter.rb, line 25 def dump_profile(profile) dump_profile_slowest_examples(profile) dump_profile_slowest_example_groups(profile) end