Helper/View/Template/Declare.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
mk_compclass
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Catalyst::Helper::View::Template::Declare;
2 use strict;
3 use warnings;
4  
5  
6 =head1 NAME
7  
8 Catalyst::Helper::View::Template::Declare - Helper for creating a stub
9 Template::Declare view
10  
11 =head1 SYNOPSIS
12  
13 script/create.pl view TD Template::Declare
14  
15 =head1 DESCRIPTION
16  
17 Helper for Template::Declare Views.
18  
19 =head2 METHODS
20  
21 =head3 mk_compclass
22  
23 =cut
24  
25 sub mk_compclass {
26 my ( $self, $helper ) = @_;
27 my $file = $helper->{file};
28 $helper->render_file( 'compclass', $file );
29 }
30  
31 =head1 AUTHOR
32  
33 Jonathan Rockway C<< <jrockway@cpan.org> >>
34  
35 =head1 LICENSE
36  
37 This library is free software . You can redistribute it and/or modify
38 it under the same terms as perl itself.
39  
40 =cut
41  
42 1;
43  
44 __DATA__