our $VERSION = '0.05';
use Moose::Meta::Class;
+use Moose::Meta::Role::Method;
use base 'Class::MOP::Module';
my $method = $other->get_method($required_method_name);
# check if it is an override or a generated accessor ..
(!$method->isa('Moose::Meta::Method::Overriden') &&
- !$method->isa('Class::MOP::Attribute::Accessor'))
+ !$method->isa('Class::MOP::Method::Accessor'))
|| confess "'" . $self->name . "' requires the method '$required_method_name' " .
"to be implemented by '" . $other->name . "', the method is only a method modifier";
# before/after/around methods are a little trickier
return $combined;
}
-package Moose::Meta::Role::Method;
-
-use strict;
-use warnings;
-
-our $VERSION = '0.01';
-
-use base 'Class::MOP::Method';
-
1;
__END__