Class: RSpec::Core::Configuration::DeprecationReporterBuffer

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/core/configuration.rb

Overview

This buffer is used to capture all messages sent to the reporter during reporter initialization. It can then replay those messages after the formatter is correctly initialized. Otherwise, deprecation warnings during formatter initialization can cause an infinite loop.