More cleanup in native documentation
[gitmo/Moose.git] / lib / Moose / Meta / Attribute / Native / Trait / String.pm
index 1566644..861b5c7 100644 (file)
@@ -52,14 +52,14 @@ Moose::Meta::Attribute::Native::Trait::String
   use Moose;
 
   has 'text' => (
-      metaclass => 'String',
+      traits    => ['String'],
       is        => 'rw',
       isa       => 'Str',
       default   => q{},
-      handles  => {
+      handles   => {
           add_text     => 'append',
           replace_text => 'replace',
-      }
+      },
   );
 
   my $page = MyHomePage->new();