class RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter

@private

Attributes

Public Class Methods

# File rspec-core/lib/rspec/core/formatters/deprecation_formatter.rb, line 116
def initialize(deprecation_stream, summary_stream, deprecation_formatter)
  @deprecation_stream = deprecation_stream

  @summary_stream = summary_stream
  @deprecation_formatter = deprecation_formatter
end

Public Instance Methods

# File rspec-core/lib/rspec/core/formatters/deprecation_formatter.rb, line 128
def deprecation_summary
  return if deprecation_formatter.count.zero?
  deprecation_stream.summarize(summary_stream, deprecation_formatter.count)
end