Satoshi Azuma > Nephia-0.86 > Nephia::Plugin

Download:
Nephia-0.86.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Nephia-0.87

NAME ^

Nephia::Plugin - Base Class of Nephia Plugin

DESCRIPTION ^

This class is a base class of Nephia Plugin.

If you want to create a plugin for Nephia, your plugin have to inherit it.

METHODS ^

app

    my $app = $self->app; 

Returns application-class object.

exports

    sub exports {
        return qw/exportee of your plugin/;
    }

Specifier for target of exports.

You have to override it if you want to export some DSL.

needs

    sub needs {
        return qw/PluginA PluginB/;
    }

Specifier for needs plugins.

requires

    sub requires {
        return qw/dsl_a dsl_b/;
    }

Specifier for required DSLs.

AUTHOR ^

ytnobody <ytnobody@gmail.com>

SEE ALSO ^

Nephia::Plugin

syntax highlighting: