projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Calculate _native_type from role name, rather than hardcoding it
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Attribute
/
Native
/
Trait
/
Code.pm
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/Code.pm
b/lib/Moose/Meta/Attribute/Native/Trait/Code.pm
index
07ac6e8
..
30b6d2f
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/Code.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/Code.pm
@@
-12,8
+12,6
@@
with 'Moose::Meta::Attribute::Native::Trait';
sub _helper_type { 'CodeRef' }
-sub _native_type { 'Code' }
-
no Moose::Role;
1;