Oops, this is applying the parameteriz*able* role, so rename the method
Shawn M Moore [Sun, 7 Dec 2008 03:51:21 +0000 (03:51 +0000)]
lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm

index c9f1553..6718cc6 100644 (file)
@@ -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(@_);