File Coverage

blib/lib/Bubblegum/Class.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 18 18 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Object Orientation for Bubblegum via Moo
2             package Bubblegum::Class;
3              
4 38     38   148477 use 5.10.0;
  38         93  
  38         1412  
5 38     38   6707 use namespace::autoclean;
  38         213377  
  38         163  
6              
7 38     38   11083 use Moo 'with';
  38         145787  
  38         187  
8              
9             with 'Bubblegum::Role::Configuration';
10              
11             our $VERSION = '0.45'; # VERSION
12              
13             sub import {
14 395     395   1080 my $target = caller;
15 395         611 my $class = shift;
16 395         757 my @export = @_;
17              
18 395         1632 $class->prerequisites($target);
19 395         237675 Moo->import::into($target, @export);
20             }
21              
22             1;
23              
24             __END__