From: Shawn M Moore Date: Sun, 7 Dec 2008 03:51:21 +0000 (+0000) Subject: Oops, this is applying the parameteriz*able* role, so rename the method X-Git-Tag: 0.05~38 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4a2212dae6d19ed7edf8d8e82151feb2e005cdeb;p=gitmo%2FMooseX-Role-Parameterized.git Oops, this is applying the parameteriz*able* role, so rename the method --- diff --git a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm index c9f1553..6718cc6 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm @@ -62,7 +62,7 @@ sub generate_role { local $MooseX::Role::Parameterized::CURRENT_METACLASS = $role; - $self->apply_parameterized_role($role); + $self->apply_parameterizable_role($role); $self->role_generator->($parameters, operating_on => $role, @@ -80,7 +80,7 @@ sub apply { $role->apply($class, %args); } -sub apply_parameterized_role { +sub apply_parameterizable_role { my $self = shift; $self->SUPER::apply(@_);