logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for MooseX::Aliases

Authors

       •   Jesse Luehrs <doy@tozt.net>

       •   Chris Prather <chris@prather.org>

       •   Justin Hunter <justin.d.hunter@gmail.com>

Description

       This trait adds the "alias" option to attribute creation. It is automatically applied to all attributes
       when "use MooseX::Aliases;" is run.

Name

       MooseX::Aliases::Meta::Trait::Attribute - attribute metaclass trait for MooseX::Aliases

Synopsis

           package MyApp::Role;
           use Moose::Role;
           use MooseX::Aliases;

           has this => (
               isa   => 'Str',
               is    => 'rw',
               alias => 'that',
           );

Version

       version 0.11

See Also