++ed by:

1 non-PAUSE user.

Satoshi Azuma
and 1 contributors

NAME

Nephia::Setup::Plugin - Base class of plugin for Nephia::Setup

DESCRIPTION

If you want to create a new plugin for Nephia::Setup, inherit this class.

SYNOPSIS

    package Nephia::Setup::Plugin::MyWay;
    use parent 'Nephia::Setup::Plugin';
    
    sub fix_setup {
        my $self = shift;
        $self->SUPER::fix_setup;
        my $setup = $self->setup;
        my $chain = $setup->action_chain;
        ### append feature here
        ...
    }
    sub bundle { qw/ Foo Bar / } ### bundle "Nephia::Setup::Plugin::Foo" and "Nephia::Setup::Plugin::Bar"

METHODS

new

Constructor.

setup

Returns a Nephia::Setup instance.

fix_setup

You have to override this method if you want to append some action to Nephia::Setup.

bundle

Returns array that contains bundled setup-plugins.

You may override this method when you want to bundle other setup-plugins.

AUTHOR

ytnobody <ytnobody@gmail.com>