Refactor attribute methods to eliminate redundancy
authorYuval Kogman <nothingmuch@woobling.org>
Sat, 27 Jun 2009 01:58:58 +0000 (21:58 -0400)
committerScott McWhirter <scott+github@konobi.co.uk>
Tue, 29 Sep 2009 06:17:18 +0000 (23:17 -0700)
commitd4fbde0bbbde3133a43396d82c6d6d24847a18c9
tree4f88eab0dd827409ec48a09b5f4801228c851567
parent2ecf7bbcac3783ee763d94bb43d4d3f85c90543e
Refactor attribute methods to eliminate redundancy

Moved _inialize_body to Method::Inlined, and all the deprecated methods
to ::Generated, so that the various subclasses contain a minimal
definition.

When traits are introduced to Class::MOP Generated, Inlined and
Attribute should become traits.
lib/Class/MOP/Method/Accessor.pm
lib/Class/MOP/Method/Attribute.pm
lib/Class/MOP/Method/Clearer.pm
lib/Class/MOP/Method/Generated.pm
lib/Class/MOP/Method/Inlined.pm
lib/Class/MOP/Method/Predicate.pm
lib/Class/MOP/Method/Reader.pm
lib/Class/MOP/Method/Writer.pm