File Coverage

blib/lib/Form/Factory/Control/Role/ScalarValue.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::ScalarValue;
2             $Form::Factory::Control::Role::ScalarValue::VERSION = '0.022';
3 1     1   520 use Moose::Role;
  1         1  
  1         7  
4              
5             excludes qw(
6             Form::Factory::Control::Role::BooleanValue
7             Form::Factory::Control::Role::ListValue
8             );
9              
10             # ABSTRACT: scalar valued controls
11              
12              
13 1     1   4051 use constant default_isa => 'Str';
  1         25  
  1         65  
14              
15             1;
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Form::Factory::Control::Role::ScalarValue - scalar valued controls
26              
27             =head1 VERSION
28              
29             version 0.022
30              
31             =head1 DESCRIPTION
32              
33             Implemented by single scalar valued controls
34              
35             =head1 METHODS
36              
37             =head2 default_isa
38              
39             Scalar valued controls are "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