File Coverage

blib/lib/Web/AssetLib/Output.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 Web::AssetLib::Output;
2              
3 10     10   2659351 use Moo;
  10         8649  
  10         86  
4 10     10   9064 use Types::Standard qw/Str HashRef/;
  10         46415  
  10         63  
5              
6             has 'type' => (
7             is => 'rw',
8             isa => Str
9             );
10              
11             has 'default_html_attrs' => (
12             is => 'rw',
13             isa => HashRef,
14             default => sub { {} }
15             );
16              
17             1;
18              
19             =pod
20            
21             =encoding UTF-8
22            
23             =head1 NAME
24              
25             Web::AssetLib::Output - base class for generated output
26              
27             =head1 SEE ALSO
28              
29             L<Web::AssetLib::OutputEngine::String>
30             L<Web::AssetLib::Output::Link>
31              
32             =head1 AUTHOR
33            
34             Ryan Lang <rlang@cpan.org>
35              
36             =cut