struct Spectator::Formatting::Components::ExampleCommand


Provides syntax for running a specific example from the command-line.

Defined in:



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 : Example) #

Creates the component with the specified example.

[View source]

Instance Method Detail

def to_s(io) #

Produces output for running the previously specified example.

[View source]