stop using excludes within moose, since it's no longer necessary
[gitmo/Moose.git] / lib / Moose / Meta / Method / Augmented.pm
index 8d6aee8..fdb91b8 100644 (file)
@@ -3,10 +3,6 @@ package Moose::Meta::Method::Augmented;
 use strict;
 use warnings;
 
-our $VERSION   = '0.68';
-$VERSION = eval $VERSION;
-our $AUTHORITY = 'cpan:STEVAN';
-
 use base 'Moose::Meta::Method';
 
 sub new {
@@ -56,49 +52,55 @@ sub new {
 
 1;
 
+# ABSTRACT: A Moose Method metaclass for augmented methods
+
 __END__
 
 =pod
 
-=head1 NAME
-
-Moose::Meta::Method::Augmented - A Moose Method metaclass for augmented methods
-
 =head1 DESCRIPTION
 
-This class implements method augmenting logic for the L<Moose> C<augment> keyword.
+This class implements method augmentation logic for the L<Moose>
+C<augment> keyword.
 
-This involves setting up C<inner> for the superclass body, and dispatching to
-the superclass from the normal body.
+The augmentation subroutine reference will be invoked explicitly using
+the C<inner> keyword from the parent class's method definition.
 
-The subclass definition (the augmentation itself) will be invoked explicitly
-using the C<inner> keyword from the parent class's method definition.
+=head1 INHERITANCE
+
+C<Moose::Meta::Method::Augmented> is a subclass of L<Moose::Meta::Method>.
 
 =head1 METHODS
 
 =over 4
 
-=item B<new>
+=item B<< Moose::Meta::Method::Augmented->new(%options) >>
 
-=back
+This constructs a new object. It accepts the following options:
 
-=head1 BUGS
+=over 8
 
-All complex software has bugs lurking in it, and this module is no 
-exception. If you find a bug please either email me, or add the bug
-to cpan-RT.
+=item * class
 
-=head1 AUTHOR
+The metaclass object for the class in which the augmentation is being
+declared. This option is required.
 
-Yuval Kogman E<lt>nothingmuch@cpan.orgE<gt>
+=item * name
 
-=head1 COPYRIGHT AND LICENSE
+The name of the method which we are augmenting. This method must exist
+in one of the class's superclasses. This option is required.
 
-Copyright 2006-2009 by Infinity Interactive, Inc.
+=item * method
 
-L<http://www.iinteractive.com>
+The subroutine reference which implements the augmentation. This
+option is required.
+
+=back
+
+=back
+
+=head1 BUGS
 
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+See L<Moose/BUGS> for details on reporting bugs.
 
 =cut