class RSpec::Core::Formatters::BaseTextFormatter
@see RSpec::Core::Reporter
@see RSpec::Core::Formatters::BaseFormatter
methods called by the reporter.
RSpec::Core::Formatters::BaseFormatter to learn more about all of the
Base for all of RSpec’s built-in formatters. See
def close(_notification)
-
_notification
(NullNotification
) -- (Ignored)
Other tags:
- Api: - public
def close(_notification) return if output.closed? output.puts output.flush end
def dump_failures(notification)
-
notification
(NullNotification
) --
Other tags:
- Api: - public
def dump_failures(notification) return if notification.failure_notifications.empty? output.puts notification.fully_formatted_failed_examples end
def dump_pending(notification)
- Private: -
def dump_pending(notification) return if notification.pending_examples.empty? output.puts notification.fully_formatted_pending_examples end
def dump_summary(summary)
-
summary
(SummaryNotification
) -- containing duration,
Other tags:
- Api: - public
def dump_summary(summary) output.puts summary.fully_formatted end
def message(notification)
-
notification
(MessageNotification
) -- containing message
Other tags:
- Api: - public
def message(notification) output.puts notification.message end
def seed(notification)
- Private: -
def seed(notification) return unless notification.seed_used? output.puts notification.fully_formatted end