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