projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
94c2981
)
Fix code example to match current api
Dave Rolsky [Wed, 23 Nov 2011 16:01:41 +0000 (10:01 -0600)]
lib/Moose/Spec/Role.pod
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Spec/Role.pod
b/lib/Moose/Spec/Role.pod
index
3862745
..
6a1086e
100644
(file)
--- 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 { ... }