File Coverage

blib/lib/Kelp/Module/Config/Less.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Kelp::Module::Config::Less;
2 2     2   1031 use Kelp::Base 'Kelp::Module::Config';
  2         5  
  2         10  
3              
4             # Kelp::Less applications start with no modules or middleware
5             attr data => sub {
6             my $self = shift;
7             my $hash = $self->SUPER::data();
8             $hash->{modules} = $hash->{middleware} = [];
9             return $hash;
10             };
11              
12             1;
13              
14             __END__
15              
16             =pod
17              
18             =head1 TITLE
19              
20             Kelp::Module::Config::Less
21              
22             =head1 DESCRIPTION
23              
24             Light config for L<Kelp::Less>
25              
26             =head1 SEE ALSO
27              
28             L<Kelp>, L<Kelp::Less>
29              
30             =cut