Checking in changes prior to tagging of version 0.93. Changelog diff is:
[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
41All complex software has bugs lurking in it, and this module is no
42exception. If you find a bug please either email me, or add the bug
43to cpan-RT.
44
45=head1 AUTHOR
46
47 Florian Ragwitz <rafl@debian.org>
48
49=head1 COPYRIGHT AND LICENSE
50
51Copyright 2007-2009 by Infinity Interactive, Inc.
52
53L<http://www.iinteractive.com>
54
55This library is free software; you can redistribute it and/or modify
56it under the same terms as Perl itself.
57
58=cut