fix all examples to use handles; fix links to be to traits
[gitmo/Moose.git] / lib / Moose / AttributeHelpers / Collection / ImmutableHash.pm
index 22fb5dd..56a7532 100644 (file)
@@ -38,10 +38,10 @@ Moose::AttributeHelpers::Collection::ImmutableHash
       is        => 'ro',
       isa       => 'HashRef[Str]',
       default   => sub { {} },
-      provides  => {
-          'get'    => 'get_option',
-          'empty'  => 'has_options',
-          'keys'   => 'get_option_list',
+      handles   => {
+          get_option      => 'get',
+          has_options     => 'empty',
+          get_option_list => 'keys',
       }
   );