for my $attr ( HasClassAttributes->meta()->get_all_class_attributes() )
DESCRIPTIONThis role adds awareness of class attributes to a role metaclass object. It provides a set of introspection methods that largely parallel the existing attribute methods, except they operate on class attributes.
METHODSEvery method provided by this role has an analogous method in "Class::MOP::Class" or "Moose::Meta::Class" for regular attributes.
$meta->get_class_attribute_list()These methods are exactly like their counterparts in MooseX::ClassAttribute::Trait::Class.
$meta->add_class_attribute(...)This accepts the same options as the Moose::Meta::Attribute "add_attribute()" method. However, if an attribute is specified as ``required'' an error will be thrown.
$meta->remove_class_attribute($name)If the named class attribute exists, it is removed from the role.
BUGSSee MooseX::ClassAttribute for details.
AUTHORDave Rolsky <[email protected]>
COPYRIGHT AND LICENSEThis software is Copyright (c) 2013 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)