- has keyword now takes a 'metaclass' option
to support custom attribute meta-classes
on a per-attribute basis
- - added tests for this
+ - Moose now enforces that your attribute
+ metaclasses are always derived from
+ Moose::Meta::Attribute
+ - added tests for this
* Moose::Role
- keywords are now exported with Sub::Exporter
use Scalar::Util 'blessed', 'weaken', 'reftype';
use Carp 'confess';
-our $VERSION = '0.04';
+our $VERSION = '0.05';
use Moose::Util::TypeConstraints ();
use Carp 'confess';
use Scalar::Util 'weaken', 'blessed';
-our $VERSION = '0.04';
+our $VERSION = '0.05';
use base 'Class::MOP::Class';
use warnings;
use Moose::Meta::Class;
-use metaclass 'Moose::Meta::Class' => (
- ':attribute_metaclass' => 'Moose::Meta::Attribute'
-);
+use metaclass 'Moose::Meta::Class';
use Carp 'confess';
-our $VERSION = '0.04';
+our $VERSION = '0.05';
sub new {
my $class = shift;