From: Dave Rolsky Date: Fri, 10 Sep 2010 01:58:53 +0000 (-0500) Subject: Docs for MMM::Does X-Git-Tag: 1.13~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e1a37cf7c0dae26fe8cdbbe488057a612b500826;p=gitmo%2FMoose.git Docs for MMM::Does --- diff --git a/lib/Moose/Meta/Method/Does.pm b/lib/Moose/Meta/Method/Does.pm index 642b5aa..805603a 100644 --- a/lib/Moose/Meta/Method/Does.pm +++ b/lib/Moose/Meta/Method/Does.pm @@ -83,20 +83,42 @@ __END__ =head1 NAME -Moose::Meta::Method::Constructor - Method Meta Object for constructors +Moose::Meta::Method::Does - Method Meta Object for does =head1 DESCRIPTION -This class is a subclass of L that -provides additional Moose-specific functionality +This class is a subclass of L that provides +Moose-specific functionality for inlining does. -To understand this class, you should read the the -L documentation as well. +To understand this class, you should read the L +documentation as well. =head1 INHERITANCE -C is a subclass of -L I L. +C is a subclass of +L I L. + +=head1 METHODS + +=over 4 + +=item B<< Moose::Meta::Method::Does->new(%options) >> + +This constructs a new object. It accepts the following options: + +=over 8 + +=item * package_name + +The package for the class in which the does is being inlined. This option is +required. + +=item * metaclass + +The metaclass for the class this does belongs to. This is optional, as it can +be set later by calling C<< $metamethod->attach_to_class >>. + +=back =head1 BUGS @@ -108,7 +130,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2010 by Infinity Interactive, Inc. +Copyright 2010 by Infinity Interactive, Inc. L