class RSpec::Core::Formatters::DeprecationFormatter::RaiseErrorStream

@private Not really a stream, but is usable in place of one.

Public Instance Methods

puts(message) click to toggle source
# File lib/rspec/core/formatters/deprecation_formatter.rb, line 185
def puts(message)
  raise DeprecationError, message
end
summarize(summary_stream, deprecation_count) click to toggle source
# File lib/rspec/core/formatters/deprecation_formatter.rb, line 189
def summarize(summary_stream, deprecation_count)
  summary_stream.puts "\n#{Helpers.pluralize(deprecation_count, 'deprecation')} found."
end