File Coverage

blib/lib/Pod/Weaver/Role/Finalizer.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 Pod::Weaver::Role::Finalizer;
2             # ABSTRACT: something that goes back and finishes up after main weaving is over
3             $Pod::Weaver::Role::Finalizer::VERSION = '4.017';
4 9     9   6156 use Moose::Role;
  9         22  
  9         79  
5             with 'Pod::Weaver::Role::Plugin';
6              
7 9     9   48702 use namespace::autoclean;
  9         23  
  9         84  
8              
9             #pod =head1 IMPLEMENTING
10             #pod
11             #pod The Finalizer role indicates that a plugin will be used to post-process the
12             #pod output document hashref after section weaving is completed. The plugin must
13             #pod provide a C<finalize_document> method which will be called as follows:
14             #pod
15             #pod $finalizer_plugin->finalize_document($document, \%input);
16             #pod
17             #pod =cut
18              
19             requires 'finalize_document';
20              
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Pod::Weaver::Role::Finalizer - something that goes back and finishes up after main weaving is over
32              
33             =head1 VERSION
34              
35             version 4.017
36              
37             =head1 IMPLEMENTING
38              
39             The Finalizer role indicates that a plugin will be used to post-process the
40             output document hashref after section weaving is completed. The plugin must
41             provide a C<finalize_document> method which will be called as follows:
42              
43             $finalizer_plugin->finalize_document($document, \%input);
44              
45             =head1 AUTHOR
46              
47             Ricardo SIGNES <rjbs@cpan.org>
48              
49             =head1 COPYRIGHT AND LICENSE
50              
51             This software is copyright (c) 2021 by Ricardo SIGNES.
52              
53             This is free software; you can redistribute it and/or modify it under
54             the same terms as the Perl 5 programming language system itself.
55              
56             =cut