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