class RSpec::Core::Notifications::SkippedExampleNotification

The `SkippedExampleNotification` extends `ExampleNotification` with things useful for specs that are skipped.

@attr [RSpec::Core::Example] example the current example @see ExampleNotification

Public Instance Methods

fully_formatted(pending_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes) click to toggle source

@return [String] The pending detail fully formatted in the way that

RSpec's built-in formatters emit.
# File lib/rspec/core/notifications.rb, line 367
def fully_formatted(pending_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
  formatted_caller = RSpec.configuration.backtrace_formatter.backtrace_line(example.location)
  fully_formatted_header(pending_number, colorizer) << colorizer.wrap("     # #{formatted_caller}\n", :detail)
end