X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod.pm;h=445882b90468f539c96a14bc0d403e8d6354ac9a;hb=f4b86ac0e1fd7ff8a180f2f8332821170db5371e;hp=f36a2a48a71330f0ae6da8bd68c72186c128dca4;hpb=aa7bbf26111ba4ed260458857f0a9cf007511bd4;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method.pm b/lib/Moose/Meta/Method.pm index f36a2a4..445882b 100644 --- a/lib/Moose/Meta/Method.pm +++ b/lib/Moose/Meta/Method.pm @@ -3,12 +3,16 @@ package Moose::Meta::Method; use strict; use warnings; -our $VERSION = '0.66'; +our $VERSION = '1.16'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; +use Class::MOP::MiniTrait; + use base 'Class::MOP::Method'; +Class::MOP::MiniTrait::apply(__PACKAGE__, 'Moose::Meta::Object::Trait'); + sub _error_thrower { my $self = shift; ( ref $self && $self->associated_metaclass ) || "Moose::Meta::Class"; @@ -41,25 +45,19 @@ Moose::Meta::Method - A Moose Method metaclass =head1 DESCRIPTION -For now, this is nothing but a subclass of Class::MOP::Method, -but with the expanding role of the method sub-protocol, it might -be more useful later on. - -=head1 METHODS - -=over 4 +This class is a subclass of L that provides +additional Moose-specific functionality, all of which is private. -=item throw_error $msg, %args +To understand this class, you should read the the L +documentation. -=item _inline_throw_error $msg_expr, $args_expr +=head1 INHERITANCE -=back +C is a subclass of L. =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 @@ -67,7 +65,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Infinity Interactive, Inc. +Copyright 2006-2010 by Infinity Interactive, Inc. L