Fix synopsis
Dave Rolsky [Sun, 21 Nov 2010 16:40:20 +0000 (10:40 -0600)]
lib/MooseX/FollowPBP/Role/Attribute.pm

index 2b31a66..fbcb6e3 100644 (file)
@@ -41,11 +41,12 @@ no Moose::Role;
 
 =head1 SYNOPSIS
 
-  Moose::Util::MetaRole::apply_metaclass_roles
-      ( for_class => $p{for_class},
-        attribute_metaclass_roles =>
-        ['MooseX::FollowPBP::Role::Attribute'],
-      );
+  Moose::Util::MetaRole::apply_metaclass_roles(
+      for             => $p{for_class},
+      class_metaroles => {
+          attribute => ['MooseX::FollowPBP::Role::Attribute'],
+      },
+  );
 
 =head1 DESCRIPTION