doc revamp for MM::Method::Accessor
Dave Rolsky [Sat, 21 Mar 2009 14:39:58 +0000 (09:39 -0500)]
lib/Moose/Meta/Method/Accessor.pm
xt/pod_coverage.t

index 7da74ee..84ff3ae 100644 (file)
@@ -292,35 +292,12 @@ Moose::Meta::Method::Accessor - A Moose Method metaclass for accessors
 
 =head1 DESCRIPTION
 
-This is a subclass of L<Class::MOP::Method::Accessor> and it's primary
-responsibility is to generate the accessor methods for attributes. It
-can handle both closure based accessors, as well as inlined source based
-accessors.
+This class is a subclass of L<Class::MOP::Class::Accessor> that
+provides additional Moose-specific functionality, all of which is
+private.
 
-This is a fairly new addition to the MOP, but this will play an important
-role in the optimization strategy we are currently following.
-
-=head1 METHODS
-
-=over 4
-
-=item B<generate_accessor_method>
-
-=item B<generate_reader_method>
-
-=item B<generate_writer_method>
-
-=item B<generate_predicate_method>
-
-=item B<generate_clearer_method>
-
-=item B<generate_accessor_method_inline>
-
-=item B<generate_reader_method_inline>
-
-=item B<generate_writer_method_inline>
-
-=back
+To understand this class, you should read the the
+L<Class::MOP::Class::Accessor> documentation.
 
 =head1 BUGS
 
index ac1561b..346ef02 100644 (file)
@@ -24,7 +24,18 @@ my %trustme = (
             raise_error
             )
     ],
-    'Moose::Meta::Method' => ['throw_error'],
+    'Moose::Meta::Method'           => ['throw_error'],
+    'Moose::Meta::Method::Accessor' => [
+        qw( generate_accessor_method
+            generate_accessor_method_inline
+            generate_clearer_method
+            generate_predicate_method
+            generate_reader_method
+            generate_reader_method_inline
+            generate_writer_method
+            generate_writer_method_inline
+            )
+    ],
     'Moose::Meta::Method::Constructor' =>
         [qw( initialize_body intialize_body)],
     'Moose::Meta::Method::Destructor' => ['initialize_body'],