struct Spectator::Formatting::Components::Stats

Overview

Statistics information displayed at the end of a run.

Defined in:

spectator/formatting/components/stats.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def self.new(report : Report) #

Creates the component with stats from report.


[View source]

Instance Method Detail

def to_s(io) #

Displays the stats.


[View source]