use new method names from cmop
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / String / clear.pm
index d881eac..fd7645e 100644 (file)
@@ -13,7 +13,7 @@ with 'Moose::Meta::Method::Accessor::Native::Writer' => {
     -excludes => [
         qw(
             _maximum_arguments
-            _optimized_set_new_value
+            _inline_optimized_set_new_value
             )
     ]
 };
@@ -22,11 +22,11 @@ sub _maximum_arguments { 0 }
 
 sub _potential_value { '""' }
 
-sub _optimized_set_new_value {
+sub _inline_optimized_set_new_value {
     my $self = shift;
     my ($inv, $new, $slot_access) = @_;
 
-    return $slot_access . ' = ""';
+    return $slot_access . ' = "";';
 }
 
 no Moose::Role;