blib/lib/MooseX/SingleArg/Meta/Class.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::Class; | ||||||
2 | |||||||
3 | $MooseX::SingleArg::Meta::Class::VERSION = '0.09'; | ||||||
4 | |||||||
5 | 2 | 2 | 6322 | use Moose::Role; | |||
2 | 8214 | ||||||
2 | 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; |