| 1 | package TAP::Stream::Text; | ||
| 2 | 3 | $TAP::Stream::Text::VERSION = '0.44'; | |
| 3 | # ABSTRACT: Create a TAP text object. | ||
| 4 | |||
| 5 | 3 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 3 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 3 | with qw(TAP::Stream::Role::ToString); | |
| 8 | |||
| 9 | 3 | has 'text' => ( | |
| 10 | is => 'ro', | ||
| 11 | isa => 'Str', | ||
| 12 | required => 1, | ||
| 13 | ); | ||
| 14 | |||
| 15 | 14 | ▶ | sub to_string { shift->text } |
|
Subroutine
to_string: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 16 | |||
| 17 | 3 | __PACKAGE__->meta->make_immutable; | |
| 18 | |||
| 19 | 3 | 1; | |
| 20 | |||
| 21 | __END__ | ||