Moose::Meta::Role::Method::Required - A Moose metaclass for required methods in Roles


Moose documentation  | view source Contained in the Moose distribution.

Index


NAME

Top

Moose::Meta::Role::Method::Required - A Moose metaclass for required methods in Roles

VERSION

Top

version 2.0010

DESCRIPTION

Top

INHERITANCE

Top

Moose::Meta::Role::Method::Required is a subclass of Class::MOP::Object. It is not a subclass of Moose::Meta::Role::Method since it does not provide an implementation of the method.

METHODS

Top

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

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

* name

The method name. This is required.

$method->name

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

BUGS

Top

See BUGS in Moose for details on reporting bugs.

AUTHOR

Top

Stevan Little <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

Top


Moose documentation  | view source Contained in the Moose distribution.