1 package Moose::Meta::Method::Accessor::Native::Hash::clear;
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
10 use base 'Moose::Meta::Method::Accessor::Native::Hash::Writer';
12 sub _maximum_arguments { 0 }
14 sub _adds_members { 0 }
16 sub _potential_value { return '{}' }
18 sub _inline_optimized_set_new_value {
19 my ( $self, $inv, $new, $slot_access ) = @_;
21 return "$slot_access = {};";