Weaver/Role/Finalizer.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Weaver/Role/Dialect.pm ↑ Summary Weaver/Role/Plugin.pm »
1 package Pod::Weaver::Role::Finalizer 4.022;
2 # ABSTRACT: something that goes back and finishes up after main weaving is over
3  
4 9 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 with 'Pod::Weaver::Role::Plugin';
6  
7 9 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 9 requires 'finalize_document';
20  
21 9 1;
22  
23 __END__
« Weaver/Role/Dialect.pm ↑ Summary Weaver/Role/Plugin.pm »