line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Class Component System for Bubblegum via Moo::Role |
2
|
|
|
|
|
|
|
package Bubblegum::Role; |
3
|
|
|
|
|
|
|
|
4
|
37
|
|
|
37
|
|
585
|
use 5.10.0; |
|
37
|
|
|
|
|
85
|
|
|
37
|
|
|
|
|
1331
|
|
5
|
37
|
|
|
37
|
|
1446
|
use namespace::autoclean; |
|
37
|
|
|
|
|
26372
|
|
|
37
|
|
|
|
|
169
|
|
6
|
|
|
|
|
|
|
|
7
|
37
|
|
|
37
|
|
2737
|
use Moo 'with'; |
|
37
|
|
|
|
|
14491
|
|
|
37
|
|
|
|
|
153
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Bubblegum::Role::Configuration'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.45'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import { |
14
|
401
|
|
|
401
|
|
1042
|
my $target = caller; |
15
|
401
|
|
|
|
|
625
|
my $class = shift; |
16
|
401
|
|
|
|
|
806
|
my @export = @_; |
17
|
|
|
|
|
|
|
|
18
|
401
|
|
|
|
|
1522
|
$class->prerequisites($target); |
19
|
401
|
|
|
|
|
229875
|
Moo::Role->import::into($target, @export); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |