| 1 | package TAP::Stream::Role::ToString; | ||
| 2 | 3 | $TAP::Stream::Role::ToString::VERSION = '0.44'; | |
| 3 | # ABSTRACT: Named strings for TAP::Stream and TAP::Stream::Text | ||
| 4 | |||
| 5 | 3 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | requires qw( | |
| 8 | to_string | ||
| 9 | ); | ||
| 10 | 3 | has 'name' => ( | |
| 11 | is => 'rw', | ||
| 12 | isa => 'Str', | ||
| 13 | default => 'Unnamed TAP stream', | ||
| 14 | ); | ||
| 15 | |||
| 16 | 3 | 1; | |
| 17 | |||
| 18 | __END__ | ||