| 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
|
|
467
|
use 5.10.0; |
|
|
2
|
|
|
|
|
7
|
|
|
|
2
|
|
|
|
|
108
|
|
|
5
|
2
|
|
|
2
|
|
2437
|
use namespace::autoclean; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Moo 'with'; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Bubblegum::Role::Configuration'; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.44'; # VERSION |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import { |
|
14
|
|
|
|
|
|
|
my $target = caller; |
|
15
|
|
|
|
|
|
|
my $class = shift; |
|
16
|
|
|
|
|
|
|
my @export = @_; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
$class->prerequisites($target); |
|
19
|
|
|
|
|
|
|
Moo::Role->import::into($target, @export); |
|
20
|
|
|
|
|
|
|
} |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |