File Coverage

lib/Pod/Elemental/Transformer/Splint/AttributeRenderer.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 23 23 100.0


line stmt bran cond sub pod time code
1 2     2   1182 use 5.10.1;
  2         6  
2 2     2   12 use strict;
  2         4  
  2         45  
3 2     2   10 use warnings;
  2         4  
  2         134  
4              
5             package Pod::Elemental::Transformer::Splint::AttributeRenderer;
6              
7             # ABSTRACT: Role for attribute renderers
8             our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9             our $VERSION = '0.1202';
10              
11 2     2   13 use Moose::Role;
  2         4  
  2         40  
12 2     2   11209 use Pod::Simple::XHTML;
  2         4  
  2         49  
13 2     2   11 use Types::Standard qw/Str/;
  2         3  
  2         35  
14              
15             with 'Pod::Elemental::Transformer::Splint::Util';
16             requires 'render_attribute';
17              
18             has for => (
19             is => 'ro',
20             isa => Str,
21             required => 1,
22             );
23              
24             1;
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Pod::Elemental::Transformer::Splint::AttributeRenderer - Role for attribute renderers
35              
36             =head1 VERSION
37              
38             Version 0.1202, released 2020-12-26.
39              
40             =head1 SOURCE
41              
42             L<https://github.com/Csson/p5-Pod-Elemental-Transformer-Splint>
43              
44             =head1 HOMEPAGE
45              
46             L<https://metacpan.org/release/Pod-Elemental-Transformer-Splint>
47              
48             =head1 AUTHOR
49              
50             Erik Carlsson <info@code301.com>
51              
52             =head1 COPYRIGHT AND LICENSE
53              
54             This software is copyright (c) 2016 by Erik Carlsson.
55              
56             This is free software; you can redistribute it and/or modify it under
57             the same terms as the Perl 5 programming language system itself.
58              
59             =cut