Class: RSpec::Core::Formatters::DeprecationFormatter::RaiseErrorStream Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-core/lib/rspec/core/formatters/deprecation_formatter.rb |
Overview
Not really a stream, but is usable in place of one.
Instance Method Summary
- #puts(message) Internal use only
- #summarize(summary_stream, deprecation_count) Internal use only
Instance Method Details
#puts(message)
# File 'rspec-core/lib/rspec/core/formatters/deprecation_formatter.rb', line 185
def puts( ) raise DeprecationError, end
#summarize(summary_stream, deprecation_count)
[ GitHub ]# File 'rspec-core/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