From: Dave Rolsky <autarch@urth.org>
Date: Wed, 23 Nov 2011 16:01:41 +0000 (-0600)
Subject: Fix code example to match current api
X-Git-Tag: 2.0402~7
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cf84ab7c463c06abcc8bf4164de256cef522b88c;p=gitmo%2FMoose.git

Fix code example to match current api
---

diff --git a/lib/Moose/Spec/Role.pod b/lib/Moose/Spec/Role.pod
index 3862745..6a1086e 100644
--- a/lib/Moose/Spec/Role.pod
+++ b/lib/Moose/Spec/Role.pod
@@ -277,7 +277,7 @@ time using the I<excludes> option.
     package Role::FooBar;
     use Moose::Role;
 
-    with 'Role::Foo' => { excludes => 'foo' };
+    with 'Role::Foo' => { -excludes => 'foo' };
 
     sub foo { ... }
     sub bar { ... }