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 | 753 | use v5.14; | |||
1 | 5 | ||||||
2 | 1 | 1 | 5 | use strict; | |||
1 | 2 | ||||||
1 | 34 | ||||||
3 | 1 | 1 | 6 | use warnings FATAL => 'all'; | |||
1 | 2 | ||||||
1 | 55 | ||||||
4 | 1 | 1 | 6 | no warnings qw(void once uninitialized numeric); | |||
1 | 2 | ||||||
1 | 107 | ||||||
5 | |||||||
6 | package Moops::TraitFor::Keyword::ro; | ||||||
7 | |||||||
8 | our $AUTHORITY = 'cpan:TOBYINK'; | ||||||
9 | our $VERSION = '0.038'; | ||||||
10 | |||||||
11 | 1 | 1 | 8 | 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; |