NAME

Brickyard::Role::Plugin - Role to use for plugins

SYNOPSIS

package My::App::Plugin::Foo;
use Role::Basic 'with';
with qw(Brickyard Role::Plugin);

METHODS

new

Constructs a new object. Takes an optional hash of arguments to initialize the object.

brickyard

Read-write accessor for the Brickyard object that created this plugin.

name

Read-write accessor for the plugin's name.

plugins_with

Delegates to the brickyard object's plugins_with() method.

normalize_param

Utility method to get a parameter value. It returns the parameter with the given name so it's ready to be used as a list. It's returned as a list in list context and as a reference to a list in scalar context.