use metaclass;
use Carp 'confess';
-use Scalar::Util 'blessed', 'reftype';
+use Scalar::Util 'blessed';
-our $VERSION = '0.01';
+our $VERSION = '0.50';
our $AUTHORITY = 'cpan:STEVAN';
use base 'Moose::Meta::Role';
# make sure to bless the
# method if nessecary
- $method = $self->method_metaclass->wrap($method)
- if !blessed($method);
+ $method = $self->method_metaclass->wrap(
+ $method,
+ package_name => $self->name,
+ name => $method_name
+ ) if !blessed($method);
$self->get_method_map->{$method_name} = $method;
}