| 1 | package TAP::Spec::Comment; | ||
| 2 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | $TAP::Spec::Comment::AUTHORITY = 'cpan:ARODLAND'; | |
| 4 | } | ||
| 5 | { | ||
| 6 | 2 | $TAP::Spec::Comment::VERSION = '0.10'; | |
| 7 | } | ||
| 8 | # ABSTRACT: A comment in a TAP stream | ||
| 9 | 2 | ▶ | use Mouse; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 2 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | |||
| 13 | 2 | has 'text' => ( | |
| 14 | is => 'rw', | ||
| 15 | isa => 'Str', | ||
| 16 | required => 1, | ||
| 17 | ); | ||
| 18 | |||
| 19 | |||
| 20 | 0 | ▶ | sub as_tap { |
|
Subroutine
as_tap: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | 0 | my ($self) = @_; | |
| 22 | |||
| 23 | 0 | return "#" . $self->text . "\n"; | |
| 24 | } | ||
| 25 | |||
| 26 | 2 | __PACKAGE__->meta->make_immutable; | |
| 27 | |||
| 28 | __END__ | ||