bump version to 0.44
[catagits/Catalyst-View-TT.git] / lib / Catalyst / Helper / View / TT.pm
CommitLineData
8077080c 1package Catalyst::Helper::View::TT;
2
3use strict;
8077080c 4
d318f193 5our $VERSION = '0.44';
036d5905 6$VERSION = eval $VERSION;
7
8077080c 8=head1 NAME
9
10Catalyst::Helper::View::TT - Helper for TT Views
11
12=head1 SYNOPSIS
13
90798082 14 script/create.pl view HTML TT
8077080c 15
16=head1 DESCRIPTION
17
18Helper for TT Views.
19
20=head2 METHODS
21
22=head3 mk_compclass
23
24=cut
25
26sub mk_compclass {
27 my ( $self, $helper ) = @_;
d97e9999 28 my $file = $helper->{file};
dc617c0e 29 $helper->render_file( 'compclass', $file );
d97e9999 30}
8077080c 31
d97e9999 32=head1 SEE ALSO
8077080c 33
d97e9999 34L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>,
35L<Catalyst::Response>, L<Catalyst::Helper>
8077080c 36
37=head1 AUTHOR
38
d97e9999 39Sebastian Riedel, C<sri@oook.de>
5be63f44 40Marcus Ramberg, C<mramberg@cpan.org>
8077080c 41
42=head1 LICENSE
43
7bee9bfc 44This library is free software . You can redistribute it and/or modify
45it under the same terms as perl itself.
8077080c 46
47=cut
48
491;
8077080c 50
d97e9999 51__DATA__
8077080c 52
d97e9999 53__compclass__
54package [% class %];
713a5152 55use Moose;
56use namespace::autoclean;
d97e9999 57
713a5152 58extends 'Catalyst::View::TT';
d97e9999 59
3715305f 60__PACKAGE__->config(
61 TEMPLATE_EXTENSION => '.tt',
62 render_die => 1,
63);
d97e9999 64
5be63f44 65=head1 NAME
d97e9999 66
5be63f44 67[% class %] - TT View for [% app %]
d97e9999 68
69=head1 DESCRIPTION
70
8544227a 71TT View for [% app %].
8077080c 72
5be63f44 73=head1 SEE ALSO
74
75L<[% app %]>
76
740cab99 77=head1 AUTHOR
78
bd9d89ad 79[% author %]
8077080c 80
81=head1 LICENSE
82
8544227a 83This library is free software. You can redistribute it and/or modify
7d8aa5ec 84it under the same terms as Perl itself.
8077080c 85
86=cut
87
881;