X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAttributeHelpers%2FCollection%2FArray.pm;h=874831e2e8a2bd99c69754e5327bf8d0f9687550;hb=fda444e70db8fa4a13c1a24dda315b506d45b839;hp=7c2acf70ff3e5e2532b7206d27a015a86245233c;hpb=99c62fb8cb5b5da1d5832062364ce48e1dd15800;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/lib/MooseX/AttributeHelpers/Collection/Array.pm b/lib/MooseX/AttributeHelpers/Collection/Array.pm index 7c2acf7..874831e 100644 --- a/lib/MooseX/AttributeHelpers/Collection/Array.pm +++ b/lib/MooseX/AttributeHelpers/Collection/Array.pm @@ -2,18 +2,12 @@ package MooseX::AttributeHelpers::Collection::Array; use Moose; -our $VERSION = '0.01'; +our $VERSION = '0.20'; +$VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use MooseX::AttributeHelpers::MethodProvider::Array; - -extends 'MooseX::AttributeHelpers::Collection'; - -has '+method_provider' => ( - default => 'MooseX::AttributeHelpers::MethodProvider::Array' -); - -sub helper_type { 'ArrayRef' } +extends 'Moose::Meta::Attribute'; +with 'MooseX::AttributeHelpers::Trait::Collection::Array'; no Moose; @@ -82,7 +76,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2007-2008 by Infinity Interactive, Inc. +Copyright 2007-2009 by Infinity Interactive, Inc. L