projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
11b6432
)
fix the erroneous ->kv call in the docs
Chris Prather [Sun, 16 Oct 2011 04:15:46 +0000 (
00:15
-0400)]
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
b/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
index
34b2998
..
6d84672
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
@@
-96,7
+96,7
@@
This method does not accept any arguments.
Returns the key/value pairs in the hash as an array of array references.
- for my $pair ( $object->options->kv ) {
+ for my $pair ( $object->option_pairs ) {
print "$pair->[0] = $pair->[1]\n";
}