blib/lib/Statocles/Event.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Statocles/Deploy.pm ↑ Summary blib/lib/Statocles/Link/Tree.pm »
1 package Statocles::Event;
2 60 our $VERSION = '0.099';
3 # ABSTRACT: Events objects for Statocles
4  
5 #pod =head1 EVENTS
6 #pod
7 #pod =head2 Statocles::Event::Pages
8 #pod
9 #pod An event with L<page objects|Statocles::Page>.
10 #pod
11 #pod =cut
12  
13 package Statocles::Event::Pages;
14  
15 60 ▶use Statocles::Base 'Class';
Subroutine BEGIN: called CC=1 SCAR=0.0
16 60 extends 'Beam::Event';
17  
18 #pod =attr pages
19 #pod
20 #pod An array of L<Statocles::Page> objects
21 #pod
22 #pod =cut
23  
24 60 has pages => (
25 is => 'ro',
26 isa => ArrayRef[ConsumerOf['Statocles::Page']],
27 required => 1,
28 );
29  
30 60 1;
31  
32 __END__
« blib/lib/Statocles/Deploy.pm ↑ Summary blib/lib/Statocles/Link/Tree.pm »