From: Dave Rolsky Date: Tue, 17 Mar 2009 16:23:06 +0000 (-0500) Subject: Docs for CMOP::Method::Generated (or really, lack of docs). X-Git-Tag: 0.80_01~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=494a7b3db2f71fec2c932ffd2f5215a8c5e80350;p=gitmo%2FClass-MOP.git Docs for CMOP::Method::Generated (or really, lack of docs). --- diff --git a/lib/Class/MOP/Method/Generated.pm b/lib/Class/MOP/Method/Generated.pm index 1e35f76..257af8e 100644 --- a/lib/Class/MOP/Method/Generated.pm +++ b/lib/Class/MOP/Method/Generated.pm @@ -92,36 +92,11 @@ Class::MOP::Method::Generated - Abstract base class for generated methods =head1 DESCRIPTION -This is a C subclass which is used interally -by C and C. +This is a C subclass which is subclassed by +C and +C. -=head1 METHODS - -=over 4 - -=item B - -This creates the method based on the criteria in C<%options>, -these options are: - -=over 4 - -=item I - -This is a boolean to indicate if the method should be generated -as a closure, or as a more optimized inline version. - -=back - -=item B - -This returns the boolean which was passed into C. - -=item B - -This is an abstract method and will throw an exception if called. - -=back +It is not intended to be used directly. =head1 AUTHORS diff --git a/xt/pod_coverage.t b/xt/pod_coverage.t index 428029f..a6b7e26 100644 --- a/xt/pod_coverage.t +++ b/xt/pod_coverage.t @@ -82,6 +82,14 @@ my %trustme = ( meta_instance ) ], + + 'Class::MOP::Method::Generated' => [ + qw( new + definition_context + is_inline + initialize_body + ) + ], ); for my $module ( sort @modules ) {