Commit | Line | Data |
699a2e32 |
1 | |
2 | package Moose::Meta::Method::Meta; |
3 | |
4 | use strict; |
5 | use warnings; |
6 | |
efa728b4 |
7 | our $VERSION = '1.15'; |
699a2e32 |
8 | $VERSION = eval $VERSION; |
9 | our $AUTHORITY = 'cpan:STEVAN'; |
10 | |
11 | use base 'Moose::Meta::Method', |
12 | 'Class::MOP::Method::Meta'; |
13 | |
14 | sub _is_caller_mop_internal { |
15 | my $self = shift; |
16 | my ($caller) = @_; |
17 | return 1 if $caller =~ /^Moose(?:::|$)/; |
18 | return $self->SUPER::_is_caller_mop_internal($caller); |
19 | } |
20 | |
21 | # XXX: ugh multiple inheritance |
22 | sub wrap { |
23 | my $class = shift; |
24 | return $class->Class::MOP::Method::Meta::wrap(@_); |
25 | } |
26 | |
35085ce3 |
27 | sub _make_compatible_with { |
28 | my $self = shift; |
29 | return $self->Class::MOP::Method::Meta::_make_compatible_with(@_); |
30 | } |
31 | |
699a2e32 |
32 | 1; |
33 | |
34 | __END__ |
35 | |
36 | =pod |
37 | |
38 | =head1 NAME |
39 | |
40 | Moose::Meta::Method::Meta - A Moose Method metaclass for C<meta> methods |
41 | |
42 | =head1 DESCRIPTION |
43 | |
44 | This class is a subclass of L<Class::MOP::Method::Meta> that |
45 | provides additional Moose-specific functionality, all of which is |
46 | private. |
47 | |
48 | To understand this class, you should read the the |
49 | L<Class::MOP::Method::Meta> documentation. |
50 | |
51 | =head1 BUGS |
52 | |
53 | See L<Moose/BUGS> for details on reporting bugs. |
54 | |
55 | =head1 AUTHOR |
56 | |
57 | Jesse Luehrs E<lt>doy at tozt dot net<gt> |
58 | |
59 | =head1 COPYRIGHT AND LICENSE |
60 | |
61 | Copyright 2006-2010 by Infinity Interactive, Inc. |
62 | |
63 | L<http://www.iinteractive.com> |
64 | |
65 | This library is free software; you can redistribute it and/or modify |
66 | it under the same terms as Perl itself. |
67 | |
68 | =cut |