X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod%2FOverridden.pm;h=892e59e06a6b92cdf0fadd5f2caa4e266f44f3d1;hb=55d05fb16429c2150b5337b1a0130ae334e129d0;hp=f4f56fbd2727a142da04474cb95cc83d21841246;hpb=d344c3feeb1c99183a249e26ddfb0e790101f7b2;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method/Overridden.pm b/lib/Moose/Meta/Method/Overridden.pm index f4f56fb..892e59e 100644 --- a/lib/Moose/Meta/Method/Overridden.pm +++ b/lib/Moose/Meta/Method/Overridden.pm @@ -3,7 +3,7 @@ package Moose::Meta::Method::Overridden; use strict; use warnings; -our $VERSION = '0.68'; +our $VERSION = '1.12'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -59,24 +59,44 @@ Moose::Meta::Method::Overridden - A Moose Method metaclass for overridden method =head1 DESCRIPTION -This class implements method overriding logic for the L C keyword. +This class implements method overriding logic for the L +C keyword. -This involves setting up C for the overriding body, and dispatching to -the correct parent method upon its invocation. +The overriding subroutine's parent will be invoked explicitly using +the C keyword from the parent class's method definition. =head1 METHODS =over 4 -=item B +=item B<< Moose::Meta::Method::Overridden->new(%options) >> + +This constructs a new object. It accepts the following options: + +=over 8 + +=item * class + +The metaclass object for the class in which the override is being +declared. This option is required. + +=item * name + +The name of the method which we are overriding. This method must exist +in one of the class's superclasses. This option is required. + +=item * method + +The subroutine reference which implements the overriding. This option +is required. + +=back =back =head1 BUGS -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. +See L for details on reporting bugs. =head1 AUTHOR @@ -84,7 +104,7 @@ Yuval Kogman Enothingmuch@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Infinity Interactive, Inc. +Copyright 2006-2010 by Infinity Interactive, Inc. L