File Coverage

blib/lib/Form/Factory/Control/Role/ListValue.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 Form::Factory::Control::Role::ListValue;
2             $Form::Factory::Control::Role::ListValue::VERSION = '0.022';
3 1     1   557 use Moose::Role;
  1         2  
  1         7  
4              
5             excludes qw(
6             Form::Factory::Control::Role::BooleanValue
7             Form::Factory::Control::Role::ScalarValue
8             );
9              
10             # ABSTRACT: list-valued controls
11              
12              
13 1     1   3718 use constant default_isa => 'ArrayRef[Str]';
  1         2  
  1         57  
14              
15             1;
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Form::Factory::Control::Role::ListValue - list-valued controls
26              
27             =head1 VERSION
28              
29             version 0.022
30              
31             =head1 DESCRIPTION
32              
33             Implemented by control that are multi-values.
34              
35             =head1 METHODS
36              
37             =head2 default_isa
38              
39             List valued controls are "ArrayRef[Str]" by default.
40              
41             =head1 AUTHOR
42              
43             Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
44              
45             =head1 COPYRIGHT AND LICENSE
46              
47             This software is copyright (c) 2015 by Qubling Software LLC.
48              
49             This is free software; you can redistribute it and/or modify it under
50             the same terms as the Perl 5 programming language system itself.
51              
52             =cut