projects
/
gitmo/MooseX-Role-Parameterized.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1a8744b
)
Pass consumer to generate_role
Shawn M Moore [Thu, 29 Jan 2009 00:02:16 +0000 (
00:02
+0000)]
lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm
b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm
index
d965575
..
b3d3d43
100644
(file)
--- a/
lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm
+++ b/
lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm
@@
-77,6
+77,7
@@
sub generate_role {
$self->role_generator->($parameters,
operating_on => $role,
+ consumer => $args{consumer},
);
return $role;