$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
-use base 'Class::MOP::Object';
+use base 'Class::MOP::Mixin';
sub has_accessor { defined $_[0]->{'accessor'} }
sub has_reader { defined $_[0]->{'reader'} }
BEGIN {
use_ok('Class::MOP');
+ use_ok('Class::MOP::Mixin');
use_ok('Class::MOP::Mixin::AttributeCore');
use_ok('Class::MOP::Mixin::HasAttributes');
use_ok('Class::MOP::Mixin::HasMethods');
'Class::MOP::Method::Accessor' => Class::MOP::Method::Accessor->meta,
'Class::MOP::Method::Constructor' =>
Class::MOP::Method::Constructor->meta,
+ 'Class::MOP::Mixin' => Class::MOP::Mixin->meta,
'Class::MOP::Mixin::AttributeCore' => Class::MOP::Mixin::AttributeCore->meta,
'Class::MOP::Mixin::HasAttributes' => Class::MOP::Mixin::HasAttributes->meta,
'Class::MOP::Mixin::HasMethods' => Class::MOP::Mixin::HasMethods->meta,
Class::MOP::Method::Generated->meta,
Class::MOP::Method::Inlined->meta,
Class::MOP::Method::Wrapped->meta,
+ Class::MOP::Mixin->meta,
Class::MOP::Mixin::AttributeCore->meta,
Class::MOP::Mixin::HasAttributes->meta,
Class::MOP::Mixin::HasMethods->meta,
Class::MOP::Class
Class::MOP::Class::Immutable::Class::MOP::Class
Class::MOP::Class::Immutable::Trait
+ Class::MOP::Mixin
Class::MOP::Mixin::AttributeCore
Class::MOP::Mixin::HasAttributes
Class::MOP::Mixin::HasMethods