File Coverage

lib/Pod/Elemental/Transformer/Splint/MethodRenderer.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   1143 use 5.10.1;
  2         14  
2 2     2   10 use strict;
  2         4  
  2         45  
3 2     2   29 use warnings;
  2         4  
  2         122  
4              
5             package Pod::Elemental::Transformer::Splint::MethodRenderer;
6              
7             # ABSTRACT: Role for method renderers
8             our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9             our $VERSION = '0.1202';
10              
11 2     2   12 use Moose::Role;
  2         4  
  2         23  
12 2     2   10877 use Pod::Simple::XHTML;
  2         11  
  2         67  
13 2     2   12 use Types::Standard qw/Str/;
  2         4  
  2         15  
14              
15             with 'Pod::Elemental::Transformer::Splint::Util';
16             requires 'render_method';
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::MethodRenderer - Role for method 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