blib/lib/MooseX/SingleArg/Meta/Role.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MooseX::SingleArg::Meta::Role; | ||||||
2 | |||||||
3 | $MooseX::SingleArg::Meta::Role::VERSION = '0.09'; | ||||||
4 | |||||||
5 | 1 | 1 | 11170 | use Moose::Role; | |||
1 | 2 | ||||||
1 | 7 | ||||||
6 | |||||||
7 | has single_arg => ( | ||||||
8 | is => 'rw', | ||||||
9 | isa => 'Str', | ||||||
10 | predicate => 'has_single_arg', | ||||||
11 | ); | ||||||
12 | |||||||
13 | has force_single_arg => ( | ||||||
14 | is => 'rw', | ||||||
15 | isa => 'Bool', | ||||||
16 | default => 0, | ||||||
17 | ); | ||||||
18 | |||||||
19 | 1; |