struct Spectator::Formatting::Components::Profile

Overview

Displays profiling information for slow examples.

Defined in:

spectator/formatting/components/profile.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(profile : Spectator::Profile) #

Creates the component with the specified profile.


[View source]

Instance Method Detail

def to_s(io) #

Produces the output containing the profiling information.


[View source]