fix all examples to use handles; fix links to be to traits
[gitmo/Moose.git] / lib / Moose / AttributeHelpers / Collection / List.pm
index ef17502..53b3ca6 100644 (file)
@@ -38,9 +38,9 @@ Moose::AttributeHelpers::Collection::List
       is        => 'ro',
       isa       => 'ArrayRef[Int]',
       default   => sub { [] },
-      provides  => {
-          map  => 'map_options',
-          grep => 'filter_options',
+      handles   => {
+          map_options    => 'map',
+          filter_options => 'grep',
       }
   );