X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod.pm;h=1488c3215e2f20729525337585c6a86755d37318;hb=883e299ed6375fe5c9d8df203f68bcc0f57d0641;hp=9f47516d0c5b3762f49b870f3dda4b43133acc25;hpb=722c9bcbe9633bbebe5b71773b8d8e574385b604;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method.pm b/lib/Moose/Meta/Method.pm index 9f47516..1488c32 100644 --- a/lib/Moose/Meta/Method.pm +++ b/lib/Moose/Meta/Method.pm @@ -3,12 +3,12 @@ package Moose::Meta::Method; use strict; use warnings; -our $VERSION = '0.71'; -$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"; @@ -31,47 +31,26 @@ sub _inline_throw_error { 1; +# ABSTRACT: A Moose Method metaclass + __END__ =pod -=head1 NAME - -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. - -=head1 AUTHOR - -Stevan Little Estevan@iinteractive.comE - -=head1 COPYRIGHT AND LICENSE - -Copyright 2006-2009 by Infinity Interactive, Inc. - -L - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. +See L for details on reporting bugs. =cut