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