stop using excludes within moose, since it's no longer necessary
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Counter / set.pm
CommitLineData
04e05413 1package Moose::Meta::Method::Accessor::Native::Counter::set;
2
3use strict;
4use warnings;
5
8b9641b8 6use Moose::Role;
7
00bbc132 8with 'Moose::Meta::Method::Accessor::Native::Writer';
04e05413 9
1e2c801e 10sub _minimum_arguments { 1 }
11sub _maximum_arguments { 1 }
04e05413 12
1e2c801e 13sub _potential_value { '$_[0]' }
04e05413 14
a486d5ad 15sub _inline_optimized_set_new_value {
53a4677c 16 my $self = shift;
17 my ($inv, $new, $slot_access) = @_;
04e05413 18
a486d5ad 19 return $slot_access . ' = $_[0];';
04e05413 20}
21
8b9641b8 22no Moose::Role;
23
04e05413 241;