projects
/
gitmo/Moose-Autobox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5d4c84f
)
docs
Ricardo Signes [Mon, 12 Oct 2009 17:16:44 +0000 (13:16 -0400)]
lib/Moose/Autobox/Array.pm
patch
|
blob
|
blame
|
history
lib/Moose/Autobox/Hash.pm
patch
|
blob
|
blame
|
history
lib/Moose/Autobox/String.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Autobox/Array.pm
b/lib/Moose/Autobox/Array.pm
index
fc95aa0
..
e43c893
100644
(file)
--- a/
lib/Moose/Autobox/Array.pm
+++ b/
lib/Moose/Autobox/Array.pm
@@
-253,6
+253,12
@@
This is a role to describe operations on the Array type.
=item B<kv>
+=item B<each>
+
+=item B<each_key>
+
+=item B<each_value>
+
=back
=head2 List implementation
diff --git
a/lib/Moose/Autobox/Hash.pm
b/lib/Moose/Autobox/Hash.pm
index
2c059bd
..
ed23052
100644
(file)
--- a/
lib/Moose/Autobox/Hash.pm
+++ b/
lib/Moose/Autobox/Hash.pm
@@
-144,6
+144,12
@@
Slices a hash but returns the keys and values as a new hashref.
=item B<slice>
+=item B<each>
+
+=item B<each_key>
+
+=item B<each_value>
+
=back
=over 4
diff --git
a/lib/Moose/Autobox/String.pm
b/lib/Moose/Autobox/String.pm
index
9a33ba5
..
553131a
100644
(file)
--- a/
lib/Moose/Autobox/String.pm
+++ b/
lib/Moose/Autobox/String.pm
@@
-74,6
+74,18
@@
This is a role to describes a String value.
=item B<ucfirst>
+=item B<split>
+
+ $string->split($pattern);
+
+=item B<words>
+
+This is equivalent to splitting on space.
+
+=item B<lines>
+
+This is equivalent to splitting on linelines.
+
=back
=over 4