bump version to 1.18
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / elements.pm
CommitLineData
f7fd22b6 1package Moose::Meta::Method::Accessor::Native::Array::elements;
2
3use strict;
4use warnings;
5
aff6aafc 6our $VERSION = '1.18';
f7fd22b6 7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
8b9641b8 10use Moose::Role;
11
12with 'Moose::Meta::Method::Accessor::Native::Reader' =>
13 { -excludes => ['_maximum_arguments'] };
f7fd22b6 14
a7821be5 15sub _maximum_arguments { 0 }
16
f7fd22b6 17sub _return_value {
910684ee 18 my $self = shift;
f7fd22b6 19 my $slot_access = shift;
20
1d06edbf 21 return "\@{ ($slot_access) }";
f7fd22b6 22}
23
8b9641b8 24no Moose::Role;
25
f7fd22b6 261;