projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3e44140
)
Add methods to PurePerl.pm
gfx [Tue, 27 Oct 2009 03:54:06 +0000 (12:54 +0900)]
lib/Mouse/PurePerl.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/PurePerl.pm
b/lib/Mouse/PurePerl.pm
index
ede54ca
..
e5859d1
100644
(file)
--- a/
lib/Mouse/PurePerl.pm
+++ b/
lib/Mouse/PurePerl.pm
@@
-126,7
+126,10
@@
sub RoleName { (Mouse::Util::class_of($_[0]) || return 0)->isa('Mouse::Meta::R
package
Mouse::Meta::Module;
-sub name { $_[0]->{package} }
+sub name { $_[0]->{package} }
+
+sub _method_map { $_[0]->{methods} }
+sub _attribute_map{ $_[0]->{attribute_map} }
sub namespace{
my $name = $_[0]->{package};