struct

Spectator::Formatting::Components::ExampleCommand

Inherits Struct / Value / Object

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

Constructors

new(example : Example)

Creates the component with the specified example.

Source

Instance methods

to_s(io : IO) : Nil

Produces output for running the previously specified example.

Source