Commit | Line | Data |
---|---|---|
fc6ef638 | 1 | package Moose::Meta::Method::Accessor::Native::Code::execute_method; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | ||
fc6ef638 | 6 | our $AUTHORITY = 'cpan:STEVAN'; |
7 | ||
8b9641b8 | 8 | use Moose::Role; |
fc6ef638 | 9 | |
8b9641b8 | 10 | with 'Moose::Meta::Method::Accessor::Native::Reader'; |
fc6ef638 | 11 | |
12 | sub _return_value { | |
53a4677c | 13 | my $self = shift; |
14 | my ($slot_access) = @_; | |
fc6ef638 | 15 | |
53a4677c | 16 | return $slot_access . '->($self, @_)'; |
fc6ef638 | 17 | } |
18 | ||
8b9641b8 | 19 | no Moose::Role; |
20 | ||
fc6ef638 | 21 | 1; |