Add inlining methods for Number native trait
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / count.pm
CommitLineData
f7fd22b6 1package Moose::Meta::Method::Accessor::Native::Array::count;
2
3use strict;
4use warnings;
5
6our $VERSION = '1.13';
7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
126a13c8 10use base 'Moose::Meta::Method::Accessor::Native::Reader';
f7fd22b6 11
a7821be5 12sub _maximum_arguments { 0 }
13
f7fd22b6 14sub _return_value {
e7724627 15 my ( $self, $slot_access ) = @_;
f7fd22b6 16
17 return "scalar \@{ $slot_access }";
18}
19
201;