1 package Moose::Meta::Method::Accessor::Native::Hash::Writer;
6 use Class::MOP::MiniTrait;
9 $VERSION = eval $VERSION;
10 our $AUTHORITY = 'cpan:STEVAN';
14 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
15 -excludes => ['_inline_coerce_new_values'],
17 'Moose::Meta::Method::Accessor::Native::Hash',
18 'Moose::Meta::Method::Accessor::Native::Collection';
20 sub _new_values { '@values' }
24 my ($slot_access) = @_;
26 return '{ %{ (' . $slot_access . ') } }';