File Coverage

blib/lib/Brickyard/Role/PluginBundle.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 25 25 100.0


line stmt bran cond sub pod time code
1 4     4   66983 use 5.010;
  4         17  
  4         166  
2 4     4   71 use warnings;
  4         9  
  4         130  
3 4     4   21 use strict;
  4         9  
  4         196  
4              
5             package Brickyard::Role::PluginBundle;
6             BEGIN {
7 4     4   110 $Brickyard::Role::PluginBundle::VERSION = '1.111750';
8             }
9              
10             # ABSTRACT: Role to use for plugin bundles
11 4     4   23 use Role::Basic allow => 'Brickyard::Accessor';
  4         8  
  4         25  
12 4     4   536 use Brickyard::Accessor new => 1, rw => [qw(brickyard)];
  4         13  
  4         41  
13             requires 'bundle_config';
14              
15             sub _exp {
16 1     1   3 my ($self, $package) = @_;
17 1         4 $self->brickyard->expand_package($package);
18             }
19             1;
20              
21              
22             __END__