Fix SYNOPSIS
Dave Rolsky [Sat, 17 Jul 2010 16:06:23 +0000 (11:06 -0500)]
lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm

index 1dd2142..2ec5cf8 100644 (file)
@@ -47,11 +47,13 @@ __END__
 
 =head1 SYNOPSIS
 
-  Moose::Util::MetaRole::apply_metaclass_roles
-      ( for_class => $caller,
-        constructor_class_roles =>
-        ['MooseX::StrictConstructor::Role::Meta::Method::Constructor'],
-      );
+  Moose::Util::MetaRole::apply_metaroles(
+      for_class => $caller,
+      class     => {
+          constructor =>
+              ['MooseX::StrictConstructor::Role::Meta::Method::Constructor'],
+      },
+  );
 
 =head1 DESCRIPTION