diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2011-12-01 17:46:39 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2011-12-01 17:46:39 +0000 |
commit | 90dccc8124a71049b8506385da22b5aecfb42e63 (patch) | |
tree | bce0386bb6b5d9112456cf4c87f1bbb8ee0731e3 | |
parent | Build results of 6d60c5f (on master) (diff) | |
parent | Merge remote branch 'dzil-test/master' (diff) | |
download | data-multivalued-90dccc8124a71049b8506385da22b5aecfb42e63.tar.gz data-multivalued-90dccc8124a71049b8506385da22b5aecfb42e63.tar.bz2 data-multivalued-90dccc8124a71049b8506385da22b5aecfb42e63.zip |
Build results of 6d60c5f (on master)
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | lib/Data/MultiValued/AttributeTrait.pm | 16 | ||||
-rw-r--r-- | weaver.ini | 7 |
3 files changed, 16 insertions, 9 deletions
@@ -1,6 +1,6 @@ Revision history for Data::MultiValued -0.0.1_3 2011-12-01 17:43:28 Europe/London +0.0.1_3 2011-12-01 17:46:33 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 0461dbf..322feb2 100644 --- a/lib/Data/MultiValued/AttributeTrait.pm +++ b/lib/Data/MultiValued/AttributeTrait.pm @@ -445,14 +445,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 Implementation details - -The multi-value object is stored in the instance slot named by the -L</full_storage_slot> attribute attribute. C<before> modifiers on -getters load the appropriate value from the multi-value object into -the regular instance slot, C<after> modifiers on setters store the -value from the regular instance slot into the multi-value object. - =head1 ATTRIBUTES These are the attributes that this trait adds to the attribute in @@ -467,6 +459,14 @@ your class. Example: multi_predicate => 'has_stuff_tagged', ); +=head1 Implementation details + +The multi-value object is stored in the instance slot named by the +L</full_storage_slot> attribute attribute. C<before> modifiers on +getters load the appropriate value from the multi-value object into +the regular instance slot, C<after> modifiers on setters store the +value from the regular instance slot into the multi-value object. + =head1 REQUIREMENTS These methods must be provided by any class consuming this role. See @@ -20,6 +20,13 @@ command = method [Collect / FUNCTIONS] command = func +[Generic / ATTRIBUTES-g] +header = ATTRIBUTES +[Generic / METHODS-g] +header = METHODS +[Generic / FUNCTIONS-g] +header = FUNCTIONS + [Leftovers] [Region / postlude] |