Change BUGS so it always tells people to look at Moose/BUGS rather than telling them...
[gitmo/Moose.git] / lib / Moose / Meta / Attribute / Native / MethodProvider / Code.pm
CommitLineData
952b939d 1package Moose::Meta::Attribute::Native::MethodProvider::Code;
cdf3cae6 2use Moose::Role;
3
6d0815b5 4our $VERSION = '0.93';
cdf3cae6 5$VERSION = eval $VERSION;
6our $AUTHORITY = 'cpan:STEVAN';
7
8sub execute : method {
9 my ( $attr, $reader, $writer ) = @_;
63723115 10 return sub { my ($self, @args) = @_; $reader->($self)->(@args) };
cdf3cae6 11}
12
13no Moose::Role;
14
151;
e8953f86 16
17__END__
18
19=pod
20
21=head1 NAME
22
23Moose::Meta::Attribute::Native::MethodProvider::Code
24
25=head1 DESCRIPTION
26
27This is a role which provides the method generators for
28L<Moose::Meta::Attribute::Native::Trait::Code>. Please check there for
29documentation on what methods are provided.
30
31=head1 METHODS
32
33=over 4
34
35=item B<meta>
36
37=back
38
39=head1 BUGS
40
d4048ef3 41See L<Moose/BUGS> for details on reporting bugs.
e8953f86 42
43=head1 AUTHOR
44
45 Florian Ragwitz <rafl@debian.org>
46
47=head1 COPYRIGHT AND LICENSE
48
49Copyright 2007-2009 by Infinity Interactive, Inc.
50
51L<http://www.iinteractive.com>
52
53This library is free software; you can redistribute it and/or modify
54it under the same terms as Perl itself.
55
56=cut