class RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter
@private
def deprecation_summary
def deprecation_summary return if deprecation_formatter.count.zero? deprecation_stream.summarize(summary_stream, deprecation_formatter.count) end
def initialize(deprecation_stream, summary_stream, deprecation_formatter)
def initialize(deprecation_stream, summary_stream, deprecation_formatter) @deprecation_stream = deprecation_stream @summary_stream = summary_stream @deprecation_formatter = deprecation_formatter end
def print_deprecation_message(data)
def print_deprecation_message(data) deprecation_message = deprecation_formatter.deprecation_message_for(data) deprecation_stream.puts deprecation_message.to_s end