MenuGrinder/Plugin/NullOutput.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
output
2.0
BEGIN
2.0
CRAP 2.0
1 package WWW::MenuGrinder::Plugin::NullOutput;
2 BEGIN {
3 $WWW::MenuGrinder::Plugin::NullOutput::VERSION = '0.06';
4 }
5  
6 # ABSTRACT: WWW::MenuGrinder plugin that outputs the menu structure unchanged.
7  
8 use Moose;
9  
10 with 'WWW::MenuGrinder::Role::Output';
11  
12 sub output {
13 my ($self, $menu) = @_;
14  
15 return $menu;
16 }
17  
18 __PACKAGE__->meta->make_immutable;
19  
20 no Moose;
21 1;
22  
23  
24 __END__