blib/lib/Email/Sender/Role/HasMessage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Email::Sender::Role::HasMessage 2.500; | ||||||
2 | # ABSTRACT: an object that has a message | ||||||
3 | |||||||
4 | 2 | 2 | 14 | use Moo::Role; | |||
2 | 12 | ||||||
2 | 17 | ||||||
5 | |||||||
6 | #pod =attr message | ||||||
7 | #pod | ||||||
8 | #pod This attribute is a message associated with the object. | ||||||
9 | #pod | ||||||
10 | #pod =cut | ||||||
11 | |||||||
12 | has message => ( | ||||||
13 | is => 'ro', | ||||||
14 | required => 1, | ||||||
15 | ); | ||||||
16 | |||||||
17 | 2 | 2 | 714 | no Moo::Role; | |||
2 | 4 | ||||||
2 | 18 | ||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |