projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Give Meta::Role a name method
[gitmo/Mouse.git]
/
lib
/
Mouse
/
Meta
/
Role.pm
diff --git
a/lib/Mouse/Meta/Role.pm
b/lib/Mouse/Meta/Role.pm
index
936f172
..
f04dd18
100644
(file)
--- a/
lib/Mouse/Meta/Role.pm
+++ b/
lib/Mouse/Meta/Role.pm
@@
-30,5
+30,7
@@
sub new {
bless \%args, $class;
}
+sub name { $_[0]->{name} }
+
1;