All unit tests passing with refactored stuff, documentation updated significantly.
[gitmo/MooseX-AttributeHelpers.git] / lib / MooseX / AttributeHelpers / Counter.pm
index d1d42f1..4626f7f 100644 (file)
@@ -57,8 +57,9 @@ MooseX::AttributeHelpers::Counter
   
 =head1 DESCRIPTION
 
-This module provides a simple counter attribute, which can be 
-incremented and decremeneted. 
+This module provides a simple counter attribute, which can be incremented and 
+decremented.  It is important to note that all those methods do in place 
+modification of the value stored in the attribute.
 
 If your attribute definition does not include any of I<is>, I<isa>,
 I<default> or I<provides> but does use the C<Counter> metaclass,
@@ -68,32 +69,10 @@ above. This allows for a very basic counter definition:
   has 'foo' => (metaclass => 'Counter');
   $obj->inc_foo;
 
-=head1 METHODS
-
-=over 4
-
-=item B<meta>
-
 =head1 PROVIDED METHODS
 
-It is important to note that all those methods do in place
-modification of the value stored in the attribute.
-
-=over 4
-
-=item I<inc>
-
-Increments the value stored in this slot by 1.
-
-=item I<dec>
-
-Decrements the value stored in this slot by 1.
-
-=item I<reset>
-
-Resets the value stored in this slot to it's default value.
-
-=back
+The methods for this metaclass are provided by
+L<MooseX::AttributeHelpers::MethodProvider::Counter>.
 
 =head1 BUGS