Rodrigo de Oliveira Gonzalez > CatalystX-Features > CatalystX::Features::View::TT

Download:
CatalystX-Features-0.25.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.25   Source  

NAME ^

CatalystX::Features::View::TT - Makes View::TT handle features.

VERSION ^

version 0.25

SYNOPSIS ^

        package MyApp::View::TT;
        use base 'CatalystX::Features::View::TT';

    __PACKAGE__->config(
        TEMPLATE_EXTENSION => '.tt',
        root               => TestApp->path_to('root'),
        INCLUDE_PATH       => [ TestApp->path_to( 'root', 'src' ), ],
    );

DESCRIPTION ^

Use this base class to make View::TT support TT in your features.

This class will modify INCLUDE_PATH, adding the /root dir of each feature in the app.

CONFIG ^

tt_prefix

Appended to the feature /root dir.

        <CatalystX::Features>
                <simple.feature>
                        tt_prefix src
                        tt_prefix more
                </simple.feature>
        </CatalystX::Features>

AUTHORS ^

        Rodrigo de Oliveira (rodrigolive), C<rodrigolive@gmail.com>

LICENSE ^

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: