line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Class Component System for Bubblegum via Moo::Role |
2
|
|
|
|
|
|
|
package Bubblegum::Role; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
711
|
use 5.10.0; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
98
|
|
5
|
2
|
|
|
2
|
|
1263
|
use namespace::autoclean; |
|
2
|
|
|
|
|
31546
|
|
|
2
|
|
|
|
|
9
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
1050
|
use Moo 'with'; |
|
2
|
|
|
|
|
17059
|
|
|
2
|
|
|
|
|
12
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Bubblegum::Role::Configuration'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.40'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import { |
14
|
0
|
|
|
0
|
|
|
my $target = caller; |
15
|
0
|
|
|
|
|
|
my $class = shift; |
16
|
0
|
|
|
|
|
|
my @export = @_; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
$class->prerequisites($target); |
19
|
0
|
|
|
|
|
|
Moo::Role->import::into($target, @export); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |