MooseX::Role::Parameterized::Meta::Role::Parameterizable5.16 man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

MooseX::Role::ParamMooseX::Role::Parameterized::Meta::Role::Parameterizable(3)

NAME
       MooseX::Role::Parameterized::Meta::Role::Parameterizable - metaclass
       for parameterizable roles

DESCRIPTION
       This is the metaclass for parameterizable roles, roles that have their
       parameters currently unbound. These are the roles that you use "with"
       in Moose, but instead of composing the parameterizable role, we
       construct a new parameterized role
       (MooseX::Role::Parameterized::Meta::Role::Parameterized) and use that
       new parameterized instead.

ATTRIBUTES
   parameterized_role_metaclass
       The name of the class that will be used to construct the parameterized
       role.

   parameters_class
       The name of the class that will be used to construct the parameters
       object.

   parameters_metaclass
       A metaclass representing this roles's parameters. It will be an
       anonymous subclass of "parameters_class". Each call to "parameter" in
       MooseX::Role::Parameters adds an attribute to this metaclass.

       When this role is consumed, the parameters object will be instantiated
       using this metaclass.

   role_generator
       A code reference that is used to generate a role based on the
       parameters provided by the consumer. The user usually specifies it
       using the "role" in MooseX::Role::Parameterized keyword.

METHODS
   add_parameter $name, %options
       Delegates to "add_attribute" in Moose::Meta::Class on the
       "parameters_metaclass" object.

   construct_parameters %arguments
       Creates a new MooseX::Role::Parameterized::Parameters object using
       metaclass "parameters_metaclass".

       The arguments are those specified by the consumer as parameter values.

   generate_role %arguments
       This method generates and returns a new instance of
       "parameterized_role_metaclass". It can take any combination of three
       named parameters:

       arguments
	   A hashref of parameters for the role, same as would be passed in at
	   a "with" statement.

       package
	   A package name that, if present, we will use for the generated
	   role; if not, we generate an anonymous role.

       consumer
	   A consumer metaobject, if available.

   apply
       Overrides "apply" in Moose::Meta::Role to automatically generate the
       parameterized role.

perl v5.16.2	   MooseX::Role::Parameterized::Meta::Role::Parameterizable(3)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net