Yanick Champoux > Bread-Board > Bread::Board::Service::WithClass

Download:
Bread-Board-0.33.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.33   Source  

NAME ^

Bread::Board::Service::WithClass

VERSION ^

version 0.33

DESCRIPTION ^

This a sub-role of Bread::Board::Service for services that return instances of a given class.

ATTRIBUTES ^

class

Read/write string attribute, the name of the class that this service will probably instantiate.

METHODS ^

has_class

Predicate for the "class" attribute, true if it has been set.

get

This role adds a before modifier to the get method, ensuring that the module implementing the "class" is loaded.

AUTHOR ^

Stevan Little <stevan@iinteractive.com>

BUGS ^

Please report any bugs or feature requests on the bugtracker website https://github.com/stevan/BreadBoard/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2015 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: