projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
50bc108
)
Make gross construct ever so slightly less gross in does()
Dave Rolsky [Tue, 21 Oct 2008 18:01:24 +0000 (18:01 +0000)]
lib/Moose/Meta/Attribute.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Attribute.pm
b/lib/Moose/Meta/Attribute.pm
index
50416f0
..
dc96d66
100644
(file)
--- a/
lib/Moose/Meta/Attribute.pm
+++ b/
lib/Moose/Meta/Attribute.pm
@@
-61,7
+61,7
@@
sub does {
Moose::Util::resolve_metatrait_alias(Attribute => $role_name)
};
return 0 if !defined($name); # failed to load class
- return Moose::Object::does($self, $name);
+ return $self->Moose::Object::does($name);
}
sub throw_error {