From: Dave Rolsky Date: Sat, 21 Mar 2009 14:39:58 +0000 (-0500) Subject: doc revamp for MM::Method::Accessor X-Git-Tag: 0.72_01~48 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=73f769fca497be344dfd2c012dfdcf6fb063eeeb;p=gitmo%2FMoose.git doc revamp for MM::Method::Accessor --- diff --git a/lib/Moose/Meta/Method/Accessor.pm b/lib/Moose/Meta/Method/Accessor.pm index 7da74ee..84ff3ae 100644 --- a/lib/Moose/Meta/Method/Accessor.pm +++ b/lib/Moose/Meta/Method/Accessor.pm @@ -292,35 +292,12 @@ Moose::Meta::Method::Accessor - A Moose Method metaclass for accessors =head1 DESCRIPTION -This is a subclass of L 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 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 - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=back +To understand this class, you should read the the +L documentation. =head1 BUGS diff --git a/xt/pod_coverage.t b/xt/pod_coverage.t index ac1561b..346ef02 100644 --- a/xt/pod_coverage.t +++ b/xt/pod_coverage.t @@ -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'],