abstract class Spectator::ExampleComponent
- Spectator::ExampleComponent
- Reference
- Object
Overview
Abstract base for all examples and collections of examples. This is used as the base node type for the composite design pattern.
Direct Known Subclasses
Defined in:
spectator/example_component.crInstance Method Summary
-
#[](index : Int) : Example
Lookup the example with the specified index.
-
#description : Symbol | String
Text that describes the context or test.
-
#example_count : Int
The number of examples in this instance.
-
#finished? : Bool
Indicates whether the example (or group) has been completely run.
- #full_description
- #source : Source
-
#symbolic? : Bool
Indicates that the component references a type or method.