e5c32f036fadda1f429f6a639a6b7a595df53ee7
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Code / execute_method.pm
1 package Moose::Meta::Method::Accessor::Native::Code::execute_method;
2
3 use strict;
4 use warnings;
5
6 our $VERSION = '1.17';
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
9
10 use Moose::Role;
11
12 with 'Moose::Meta::Method::Accessor::Native::Reader';
13
14 sub _return_value {
15     my ( $self, $slot_access ) = @_;
16
17     return "${slot_access}->(\$self, \@_)";
18 }
19
20 no Moose::Role;
21
22 1;