Taffeta/Color/Role/SVG.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use Renard::Incunabula::Common::Setup;
2 package Intertangle::Taffeta::Color::Role::SVG;
3 # ABSTRACT: SVG colour role
4 $Intertangle::Taffeta::Color::Role::SVG::VERSION = '0.001';
5 use Mu::Role;
6  
7 requires 'r8';
8 requires 'g8';
9 requires 'b8';
10  
11 lazy svg_value => method() {
12 "rgb(@{[ $self->r8 ]},@{[ $self->g8 ]},@{[ $self->b8 ]})";
13 };
14  
15 1;
16  
17 __END__