package MooseX::AttributeHelpers::Collection::List;
use Moose;
-our $VERSION = '0.01';
+our $VERSION = '0.20';
+$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
-use MooseX::AttributeHelpers::MethodProvider::List;
-
-extends 'MooseX::AttributeHelpers::Collection';
-
-has '+method_provider' => (
- default => 'MooseX::AttributeHelpers::MethodProvider::List'
-);
-
-sub helper_type { 'ArrayRef' }
+extends 'Moose::Meta::Attribute';
+with 'MooseX::AttributeHelpers::Trait::Collection::List';
no Moose;
# register the alias ...
-package Moose::Meta::Attribute::Custom::Collection::List;
+package # hide me from search.cpan.org
+ Moose::Meta::Attribute::Custom::Collection::List;
sub register_implementation { 'MooseX::AttributeHelpers::Collection::List' }
default => sub { [] },
provides => {
map => 'map_options',
- grep => 'fitler_options',
+ grep => 'filter_options',
}
);
=over 4
+=item B<meta>
+
=item B<method_provider>
=item B<has_method_provider>
=head1 COPYRIGHT AND LICENSE
-Copyright 2007 by Infinity Interactive, Inc.
+Copyright 2007-2009 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>