Intent/HabitRPG.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Exobrain::Intent::HabitRPG;
2  
3 use v5.10.0;
4 use Moose;
5 use Method::Signatures;
6  
7  
8 method summary() {
9 return join(' ' , "HabitRPG: Move" , $self->task, $self->direction);
10 }
11  
12 BEGIN { with 'Exobrain::Intent'; };
13  
14 payload task => ( isa => 'Str' , required => 1 );
15 payload direction => ( isa => 'Str' , required => 1 ); # TODO - Restrict to up/down
16  
17 1;
18  
19 __END__