FormHandler/Widget/Field/Role/HTMLAttributes.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
_add_html_attributes
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package HTML::FormHandler::Widget::Field::Role::HTMLAttributes;
2 # ABSTRACT: apply HTML attributes
3 $HTML::FormHandler::Widget::Field::Role::HTMLAttributes::VERSION = '0.410002';
4  
5 use Moose::Role;
6 use HTML::FormHandler::Render::Util ('process_attrs');
7  
8 sub _add_html_attributes {
9 my $self = shift;
10 my $output = process_attrs( $self->attributes );
11 return $output;
12 }
13  
14 1;
15  
16 __END__