Commit | Line | Data |
---|---|---|
e7724627 | 1 | package Moose::Meta::Method::Accessor::Native::String::clear; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | ||
8b9641b8 | 6 | use Moose::Role; |
7 | ||
00bbc132 | 8 | with 'Moose::Meta::Method::Accessor::Native::Writer'; |
e7724627 | 9 | |
e7724627 | 10 | sub _maximum_arguments { 0 } |
11 | ||
1e2c801e | 12 | sub _potential_value { '""' } |
e7724627 | 13 | |
a486d5ad | 14 | sub _inline_optimized_set_new_value { |
53a4677c | 15 | my $self = shift; |
16 | my ($inv, $new, $slot_access) = @_; | |
e7724627 | 17 | |
a486d5ad | 18 | return $slot_access . ' = "";'; |
e7724627 | 19 | } |
20 | ||
8b9641b8 | 21 | no Moose::Role; |
22 | ||
e7724627 | 23 | 1; |