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