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