File Coverage

blib/lib/Moops/TraitFor/Keyword/ro.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1 1     1   594 use v5.14;
  1         3  
2 1     1   6 use strict;
  1         2  
  1         28  
3 1     1   6 use warnings FATAL => 'all';
  1         2  
  1         41  
4 1     1   5 no warnings qw(void once uninitialized numeric);
  1         2  
  1         97  
5              
6             package Moops::TraitFor::Keyword::ro;
7              
8             our $AUTHORITY = 'cpan:TOBYINK';
9             our $VERSION = '0.037';
10              
11 1     1   7 use Moo::Role;
  1         2  
  1         6  
12              
13             around arguments_for_moosex_mungehas => sub {
14             my $next = shift;
15             my $self = shift;
16             return ('is_ro', $self->$next(@_));
17             };
18              
19             1;