File Coverage

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


line stmt bran cond sub pod time code
1             package Kelp::Module::Config::Null;
2 1     1   924 use Kelp::Base 'Kelp::Module::Config';
  1         2  
  1         7  
3              
4             attr 'data' => sub { {} };
5              
6 2     2 1 8 sub load { {} }
7              
8             1;
9              
10             # This config module has no defaults and won't load your configuration files.
11             # The configuration will be completely empty and can be only set by hand in
12             # code. It's very likely going to make some parts of the system not function as
13             # they should unless you provide the same set of defaults as
14             # Kelp::Module::Config::Less (and keep it updated)
15