Parent

Class/Module Index [+]

Quicksearch

RSpec::Core::Formatters::ProfileFormatter

@api private Formatter for providing profile output

Attributes

output[R]

@private

Public Class Methods

new(output) click to toggle source
# File lib/rspec/core/formatters/profile_formatter.rb, line 12
def initialize(output)
  @output = output
end

Public Instance Methods

dump_profile(profile) click to toggle source

@method dump_profile @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 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.