Jesse Luehrs > Moose-2.0604 > Moose::Meta::Role::Method::Conflicting

Download:
Moose-2.0604.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  41
Stalled  7
View/Report Bugs
Module Version: 2.0604   Source   Latest Release: Moose-2.1302-TRIAL

NAME ^

Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles

VERSION ^

version 2.0604

DESCRIPTION ^

INHERITANCE ^

Moose::Meta::Role::Method::Conflicting is a subclass of Moose::Meta::Role::Method::Required.

METHODS ^

Moose::Meta::Role::Method::Conflicting->new(%options)

This creates a new type constraint based on the provided %options:

  • name

    The method name. This is required.

  • roles

    The list of role names that generated the conflict. This is required.

$method->name

Returns the conflicting method's name, as provided to the constructor.

$method->roles

Returns the roles that generated this conflicting method, as provided to the constructor.

$method->roles_as_english_list

Returns the roles that generated this conflicting method as an English list.

BUGS ^

See "BUGS" in Moose for details on reporting bugs.

AUTHOR ^

Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details.

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Infinity Interactive, Inc..

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: