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
/
Counter.pm
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/Counter.pm
b/lib/Moose/Meta/Attribute/Native/Trait/Counter.pm
index
c1912c0
..
53ba46e
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/Counter.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/Counter.pm
@@
-17,7
+17,6
@@
with 'Moose::Meta::Attribute::Native::Trait' =>
sub _default_default { 0 }
sub _default_is { 'ro' }
sub _helper_type { 'Num' }
-sub _native_type { 'Counter' }
sub _root_types { 'Num', 'Int' }
no Moose::Role;