blib/lib/Pinto/Role/Plated.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Pinto/Exception.pm ↑ Summary blib/lib/Pinto/Role/Transactional.pm »
1 # ABSTRACT: Something that has chrome plating
2  
3 package Pinto::Role::Plated;
4  
5 98 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 98 ▶use MooseX::MarkAsMethods ( autoclean => 1 );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #-----------------------------------------------------------------------------
9  
10 98 our $VERSION = '0.14'; # VERSION
11  
12 #-----------------------------------------------------------------------------
13  
14 98 has chrome => (
15 is => 'ro',
16 isa => 'Pinto::Chrome',
17 handles => [qw(show diag info notice warning error)],
18 required => 1,
19 );
20  
21 #-----------------------------------------------------------------------------
22 98 1;
23  
24 __END__
« blib/lib/Pinto/Exception.pm ↑ Summary blib/lib/Pinto/Role/Transactional.pm »