summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2011-12-05 13:56:17 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2011-12-05 13:56:17 +0000
commita6de0c6b85dda6f5e103fa66e75d1e7da98345f7 (patch)
treed1bfe81d9be697cd40e0c24aa0d8eec40c02a1bb
parentBuild results of beb5924 (on master) (diff)
parentWIP use pod::weaver really (diff)
downloaddata-multivalued-a6de0c6b85dda6f5e103fa66e75d1e7da98345f7.tar.gz
data-multivalued-a6de0c6b85dda6f5e103fa66e75d1e7da98345f7.tar.bz2
data-multivalued-a6de0c6b85dda6f5e103fa66e75d1e7da98345f7.zip
Build results of beb5924 (on master)
-rw-r--r--Changes2
-rw-r--r--lib/Data/MultiValued/AttributeTrait.pm28
2 files changed, 15 insertions, 15 deletions
diff --git a/Changes b/Changes
index 0cf131f..7daf510 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
Revision history for Data::MultiValued
-0.0.1_3 2011-12-05 13:54:07 Europe/London
+0.0.1_3 2011-12-05 13:56:12 Europe/London
0.0.1_2 2011-11-30 11:01:47 Europe/London
- remove the need for perl 5.12
diff --git a/lib/Data/MultiValued/AttributeTrait.pm b/lib/Data/MultiValued/AttributeTrait.pm
index 322feb2..905bab0 100644
--- a/lib/Data/MultiValued/AttributeTrait.pm
+++ b/lib/Data/MultiValued/AttributeTrait.pm
@@ -331,6 +331,20 @@ non-multi accessor. So, for example,
will create a C<stuff> read / write accessor and a C<stuff_multi> read
/ write tagged accessor.
+=head1 ATTRIBUTES
+
+These are the attributes that this trait adds to the attribute in
+your class. Example:
+
+ has stuff => (
+ is => 'rw',
+ isa => 'Int',
+ traits => ['MultiValued::Tags'],
+ predicate => 'has_stuff',
+ multi_accessor => 'stuff_tagged',
+ multi_predicate => 'has_stuff_tagged',
+ );
+
=head1 METHODS
=head2 C<slots>
@@ -445,20 +459,6 @@ Returns the result of calling C<_as_hash> on the value inside the
L</full_storage_slot> of the instance. Returns nothing if the slot
does not have a value.
-=head1 ATTRIBUTES
-
-These are the attributes that this trait adds to the attribute in
-your class. Example:
-
- has stuff => (
- is => 'rw',
- isa => 'Int',
- traits => ['MultiValued::Tags'],
- predicate => 'has_stuff',
- multi_accessor => 'stuff_tagged',
- multi_predicate => 'has_stuff_tagged',
- );
-
=head1 Implementation details
The multi-value object is stored in the instance slot named by the