File Coverage

blib/lib/Email/MIME/Kit/Role/Component.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Email::MIME::Kit::Role::Component 3.000007;
2             # ABSTRACT: things that are kit components
3              
4 7     7   4399 use v5.20.0;
  7         30  
5 7     7   45 use Moose::Role;
  7         22  
  7         47  
6              
7             #pod =head1 DESCRIPTION
8             #pod
9             #pod All (or most, anyway) components of an Email::MIME::Kit will perform this role.
10             #pod Its primary function is to provide a C<kit> attribute that refers back to the
11             #pod Email::MIME::Kit into which the component was installed.
12             #pod
13             #pod =cut
14              
15             has kit => (
16             is => 'ro',
17             isa => 'Email::MIME::Kit',
18             required => 1,
19             weak_ref => 1,
20             );
21              
22 7     7   37647 no Moose::Role;
  7         19  
  7         30  
23             1;
24              
25             __END__
26              
27             =pod
28              
29             =encoding UTF-8
30              
31             =head1 NAME
32              
33             Email::MIME::Kit::Role::Component - things that are kit components
34              
35             =head1 VERSION
36              
37             version 3.000007
38              
39             =head1 DESCRIPTION
40              
41             All (or most, anyway) components of an Email::MIME::Kit will perform this role.
42             Its primary function is to provide a C<kit> attribute that refers back to the
43             Email::MIME::Kit into which the component was installed.
44              
45             =head1 PERL VERSION
46              
47             This library should run on perls released even a long time ago. It should work
48             on any version of perl released in the last five years.
49              
50             Although it may work on older versions of perl, no guarantee is made that the
51             minimum required version will not be increased. The version may be increased
52             for any reason, and there is no promise that patches will be accepted to lower
53             the minimum required perl.
54              
55             =head1 AUTHOR
56              
57             Ricardo Signes <rjbs@cpan.org>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2023 by Ricardo Signes.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut