gray > MojoX-Renderer-Xslate-0.08 > Mojolicious::Plugin::Xslate

Download:
MojoX-Renderer-Xslate-0.08.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: MojoX-Renderer-Xslate-0.09

NAME ^

Mojolicious::Plugin::Xslate - Text::Xslate plugin

SYNOPSIS ^

    # Mojolicious
    $self->plugin('xslate_renderer');
    $self->plugin(xslate_renderer => {
        template_options => { syntax => 'TTerse', ...}
    });

    # Mojolicious::Lite
    plugin 'xslate_renderer';
    plugin xslate_renderer => {
        template_options => { syntax => 'TTerse', ...}
    };

DESCRIPTION ^

Mojolicous::Plugin::Xslate is a simple loader for MojoX::Renderer::Xslate.

METHODS ^

Mojolicious::Plugin::Xslate inherits all methods from Mojolicious::Plugin and overrides the following ones:

register

    $plugin->register

Registers renderer in Mojolicious application.

SEE ALSO ^

MojoX::Renderer::Xslate, Mojolicious

syntax highlighting: