From: Dave Rolsky Date: Fri, 7 Nov 2008 20:03:31 +0000 (+0000) Subject: Class::MOP::Class->add_method does not accept any params besides X-Git-Tag: 0.69~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a61b5ea5ad211dda364b1eb99522e3dc0f3c20c;p=gitmo%2FClass-MOP.git Class::MOP::Class->add_method does not accept any params besides method name and the method itself. --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index 931f09d..a606680 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -1477,7 +1477,7 @@ for more information on the method metaclasses. Wrap a code ref (C<$attrs{body>) with C. -=item B +=item B This will take a C<$method_name> and CODE reference or meta method objectand install it into the class's package.