File Coverage

blib/lib/Acme/PrettyCure/Girl/Role/Five.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Acme::PrettyCure::Girl::Role::Five;
2 4     4   2858 use utf8;
  4         9  
  4         27  
3 4     4   100 use Moo::Role;
  4         9  
  4         28  
4              
5              
6             after 'transform' => sub {
7             my ($self, @buddies) = @_;
8              
9             for my $buddy (@buddies) {
10             $buddy->transform;
11             }
12              
13             if (scalar(@buddies) == 4) {
14             $self->say("希望の力と、未来の光");
15             $self->say("華麗に羽ばたく五つの心!");
16             $self->say("Yes! プリキュア5!");
17             }
18             };
19              
20              
21             1;
22