Jacquard/Role/Render/QnD/Bounds/Direct.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 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::Jacquard::Role::Render::QnD::Bounds::Direct;
3 # ABSTRACT: Quick-and-dirty role for computing bounds directly using position and size
4 $Intertangle::Jacquard::Role::Render::QnD::Bounds::Direct::VERSION = '0.002';
5 use Mu::Role;
6  
7 requires 'origin_point';
8 requires 'size';
9  
10 lazy bounds => method() {
11 Intertangle::Yarn::Graphene::Rect->new(
12 origin => $self->origin_point,
13 size => $self->size,
14 );
15 };
16  
17 1;
18  
19 __END__